@Test(enabled = false, description = "Currently this is simply not possible because of the way, the CollectionItemAccessor works. Would be great, to support this.")
public void testCompareWithListContainingObjectOnceDetectsIfAnotherInstanceOfItGetsAdded() throws Exception
{
final List<ObjectWithHashCodeAndEquals> base = asList(new ObjectWithHashCodeAndEquals("foo"));
final List<ObjectWithHashCodeAndEquals> working = asList(new ObjectWithHashCodeAndEquals("foo"), new ObjectWithHashCodeAndEquals("foo"));
final DiffNode node = ObjectDifferBuilder.buildDefault().compare(working, base);
node.visit(new NodeHierarchyVisitor());
assertThat(node).child(NodePath.startBuilding()
.collectionItem(new ObjectWithHashCodeAndEquals("foo"))
.build()).hasState(DiffNode.State.ADDED);
}