public void testClone() { CustomEntry clonedEntry = (CustomEntry)customEntry.clone <CustomEntry>(); Assert.AreEqual(customEntry.getId(), clonedEntry.getId()); Assert.AreEqual(customEntry.getComment(), clonedEntry.getComment()); Assert.AreEqual(customEntry.getContentClass(), clonedEntry.getContentClass()); Assert.AreEqual(customEntry.getSource(), clonedEntry.getSource()); Assert.AreEqual(customEntry.getSourceId(), clonedEntry.getSourceId()); Assert.AreEqual(customEntry.getFileFormat().getFileFormatName(), clonedEntry.getFileFormat().getFileFormatName()); assertDictionaryEquals(customEntry.getAttributes(), clonedEntry.getAttributes()); }