You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
usingElementComparatorOnFields is handy, but much more prevalent is the case of properties, i.e. either
by name of the public field, or the getter based on the name:
Given Foo with _name and getName(), I should be able to compare by "name" which in this case translated to calling Foo.getName() using the Bean Introspection.
I understand that there are already extracting methods, but they cover only the one end of the equation, the actual Iterable; the expected Iterable will have to be converted separately :(
Cheers,
David
PS: Love your baby, AssertJ; migrating to it!
The text was updated successfully, but these errors were encountered:
usingElementComparatorOnFields is handy, but much more prevalent is the case of properties, i.e. either
by name of the public field, or the getter based on the name:
Given Foo with _name and getName(), I should be able to compare by "name" which in this case translated to calling Foo.getName() using the Bean Introspection.
I understand that there are already extracting methods, but they cover only the one end of the equation, the actual Iterable; the expected Iterable will have to be converted separately :(
Cheers,
David
PS: Love your baby, AssertJ; migrating to it!
The text was updated successfully, but these errors were encountered: