void () { FileEntry file = new FileEntry("name", c("content"), 123L, true); Entry copy = file.copy(); assertEquals("name", copy.getName()); assertContent("content", copy.getContent()); assertEquals(123L, copy.getTimestamp()); assertTrue(copy.isReadOnly()); }