void () { Entry e1 = new DirectoryEntry("name"); Entry e2 = new DirectoryEntry("name"); Entry child1 = new FileEntry("name1", c("content1"), -1, false); Entry child2 = new FileEntry("name1", c("content2"), -1, false); e1.addChild(child1); e2.addChild(child2); List<Difference> dd = Entry.getDifferencesBetween(e1, e2); assertEquals(1, dd.size()); assertFileDifference(dd.get(0), child1, child2); }