### Question:
TypeDefGallery extends TypeDefElementHeader { @Override public String toString() { return "TypeDefGallery{" + "attributeTypeDefs=" + attributeTypeDefs + ", typeDefs=" + typeDefs + '}'; } TypeDefGallery();  TypeDefGallery(TypeDefGallery    template); List<AttributeTypeDef> getAttributeTypeDefs(); void setAttributeTypeDefs(List<AttributeTypeDef> attributeTypeDefs); ArrayList<TypeDef> getTypeDefs(); void setTypeDefs(List<TypeDef> typeDefs); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testToString() { assertTrue(getTestObject().toString().contains("TypeDefGallery")); }