void () { DirectoryEntry e1 = new DirectoryEntry("name"); DirectoryEntry e2 = new DirectoryEntry("another name"); List<Difference> dd = Entry.getDifferencesBetween(e1, e2); assertEquals(1, dd.size()); assertDirDifference(dd.get(0), e1, e2); }