Closed douglasrodrigo closed 11 years ago
gimme method on ObjectFactory class returns a List. I tried to change it to returns a collection but then when call gimme method I will need an explicit cast.
What about create a sintax like that?
gimme(2, "valid").asList() gimme(2, "valid").asSet()
That has to be transparent to the user. The fixture has to do it. We will work with the attribute type for "explicit" cast, same way bfmapper.
Can you show an example of this in bfmapper?
Fixed with pull request #25
Add possibility to work with Collection and Sets.