NodeAssertions.assertThat(node).self().hasNoChildren();
}
public void testCompareBeanWithEqualsOnlyValueProviderMethodOnGetObjectPropertyWithChangeInMethodResult()
{
final ObjectWithNestedObject forWorking = new ObjectWithNestedObject("childid");
forWorking.setObject(new ObjectWithNestedObject("grandchildid"));
final ObjectWithNestedObject forBase = new ObjectWithNestedObject("differentchildid");
forBase.setObject(new ObjectWithNestedObject("differentgrandchildid"));
final ObjectWithMethodEqualsOnlyValueProviderMethodOnGetNestedObject working = new ObjectWithMethodEqualsOnlyValueProviderMethodOnGetNestedObject("id", forWorking);
final ObjectWithMethodEqualsOnlyValueProviderMethodOnGetNestedObject base = new ObjectWithMethodEqualsOnlyValueProviderMethodOnGetNestedObject("id", forBase);
final DiffNode node = objectDiffer.compare(working, base);