I'm looking for a hamcrest match, which behaves the same as SamePropertyValuesAs , but with an added twist, which, if the property is not primitive, is one of the standard Java classes (string, integer, etc.) or a mix of one of them (collection or an array), then it will also perform a recursive match with these properties.
Is there such an assistant or do I have to roll on my own?
source share