Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for usingElementComparatorOnProperties method #18

Closed
protobufel opened this issue Sep 24, 2014 · 1 comment
Closed

Request for usingElementComparatorOnProperties method #18

protobufel opened this issue Sep 24, 2014 · 1 comment

Comments

@protobufel
Copy link

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!

@joel-costigliola
Copy link
Member

duplicate of assertj/assertj#243

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants