### Question:
EntityDef extends TypeDef { public TypeDef cloneFromSubclass() { return new EntityDef(this); } EntityDef();  EntityDef(TypeDefCategory category,
                     String          guid,
                     String          name,
                     long            version,
                     String          versionName);  EntityDef(EntityDef   template); TypeDef cloneFromSubclass(); @Override String toString();  }### Answer:
@Test public void testCloneFromSubclass() { TypeDef testObject = this.getTestObject(); validateObject((EntityDef) testObject.cloneFromSubclass()); }