big-andy-coates / populace

Test utility to recursiving populate object graphs
Apache License 2.0
0 stars 0 forks source link

Support for generic runtime types #38

Closed big-andy-coates closed 9 years ago

big-andy-coates commented 9 years ago

For example, given a Field of type Object, with a current value of "Hello, I'm a String", the populator should be able to mutate this string.

Also, given a Field of type Collection<String> and current value of new HashSet, the populator should be able to resolve the runtime generic type to be HashSet<String>, and this parameterised type should be used when requesting InstanceFactorys, Mutators and Inspectors.