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