}
@Test(groups = TestGroups.INTEGRATION)
public void testCompareCollectionWithChangedItem() throws Exception
{
final List<?> working = asList(new ObjectWithIdentityAndValue("foo", "1"));
final List<?> base = asList(new ObjectWithIdentityAndValue("foo", "2"));
final DiffNode node = ObjectDifferBuilder.buildDefault().compare(working, base);
assertThat(node).self().hasChanges();
assertThat(node).child(new CollectionItemElementSelector(new ObjectWithIdentityAndValue("foo")))
.hasState(DiffNode.State.CHANGED);
}