void () { Entry copy = root.copy(); assertEquals(RootEntry.class, copy.getClass()); assertEquals(1, copy.getChildren().size()); assertNotSame(child, copy.getChildren().get(0)); assertEquals("child", copy.getChildren().get(0).getName()); }