### Question:
CollectionDef extends AttributeTypeDef { @Override public String toString() { return "CollectionDef{" + "name='" + name + '\'' + ", collectionDefCategory=" + collectionDefCategory + ", argumentCount=" + argumentCount + ", argumentTypes=" + argumentTypes + ", category=" + category + ", guid='" + guid + '\'' + ", description='" + description + '\'' + ", descriptionGUID='" + descriptionGUID + '\'' + '}'; } CollectionDef();  CollectionDef(CollectionDefCategory  collectionDefCategory);  CollectionDef(CollectionDef template); AttributeTypeDef cloneFromSubclass(); CollectionDefCategory getCollectionDefCategory(); void setCollectionDefCategory(CollectionDefCategory collectionDefCategory); int getArgumentCount(); void setArgumentCount(int argumentCount); List<PrimitiveDefCategory> getArgumentTypes(); void setArgumentTypes(List<PrimitiveDefCategory> argumentTypes); @Override String toString(); @Override boolean equals(Object objectToCompare);  }### Answer:
@Test public void testToString() { assertTrue(getTestObject().toString().contains("CollectionDef")); }