It would be nice to have be able to write:
which would under the hood use a comparator that is doing a reflection equals (similiar to the one in org.apache.commons.lang3.builder.EqualsBuilder.reflectionEquals ) only on specified fields.
There could be as well a reversed method
Have a look at lenient equals assertions, I think they'll do the job
// frodo and sam both are hobbits, so they are lenient equals on race
// Except name and age, frodo and sam both are hobbits, so they are lenient equals ignoring name and age
assertThat(frodo).isLenientEqualsToByIgnoringFields(sam, "name", "age");
examples from BasicAssertionsExamples.java in fest-examples project.