void () { RootEntry root = new RootEntry(); LocalHistoryFacade facade = new InMemoryLocalHistoryFacade(); ChangeSet cs = addChangeSet(facade, createFile(root, "f1")); addChangeSet(facade, createFile(root, "f2")); Revision r = new ChangeRevision(facade, root, "", cs, false); RootEntry e = (RootEntry)r.findEntry(); assertEquals(e.getClass(), RootEntry.class); assertNotNull(e.findEntry("f1")); assertNull(e.findEntry("f2")); }