### Question:
SchemaAttribute extends SchemaElement { @Override public String toString() { return "SchemaAttribute{" + "attributeName='" + attributeName + '\'' + ", elementPosition=" + elementPosition + ", minCardinality=" + minCardinality + ", maxCardinality=" + maxCardinality + ", allowsDuplicateValues=" + allowsDuplicateValues + ", orderedValues=" + orderedValues + ", defaultValueOverride='" + defaultValueOverride + '\'' + ", sortOrder=" + sortOrder + ", anchorGUID='" + anchorGUID + '\'' + ", attributeType=" + attributeType + ", externalAttributeType=" + externalAttributeType + ", attributeRelationships=" + attributeRelationships + ", nativeJavaClass='" + nativeJavaClass + '\'' + ", aliases=" + aliases + ", deprecated=" + isDeprecated() + ", displayName='" + getDisplayName() + '\'' + ", description='" + getDescription() + '\'' + ", qualifiedName='" + getQualifiedName() + '\'' + ", additionalProperties=" + getAdditionalProperties() + ", meanings=" + getMeanings() + ", type=" + getType() + ", GUID='" + getGUID() + '\'' + ", URL='" + getURL() + '\'' + ", classifications=" + getClassifications() + ", extendedProperties=" + getExtendedProperties() + '}'; } SchemaAttribute();  SchemaAttribute(SchemaAttribute template); SchemaElement cloneSchemaElement(); String getAttributeName(); void setAttributeName(String attributeName); int getElementPosition(); void setElementPosition(int elementPosition); SchemaAttributeCategory getCategory(); @SuppressWarnings(value = "unused") void setCategory(SchemaAttributeCategory category); String getCardinality(); void setCardinality(String cardinality); int getMinCardinality(); void setMinCardinality(int minCardinality); int getMaxCardinality(); void setMaxCardinality(int maxCardinality); boolean isAllowsDuplicateValues(); void setAllowsDuplicateValues(boolean allowsDuplicateValues); boolean isOrderedValues(); void setOrderedValues(boolean orderedValues); DataItemSortOrder getSortOrder(); void setSortOrder(DataItemSortOrder sortOrder); int getMinimumLength(); void setMinimumLength(int minimumLength); int getLength(); void setLength(int length); int getSignificantDigits(); void setSignificantDigits(int significantDigits); boolean isNullable(); void setNullable(boolean nullable); String getDefaultValueOverride(); void setDefaultValueOverride(String defaultValueOverride); String getAnchorGUID(); void setAnchorGUID(String anchorGUID); SchemaType getAttributeType(); void setAttributeType(SchemaType attributeType); SchemaLink getExternalAttributeType(); void setExternalAttributeType(SchemaLink externalAttributeType); List<SchemaAttributeRelationship> getAttributeRelationships(); void setAttributeRelationships(List<SchemaAttributeRelationship> attributeRelationships); String getNativeJavaClass(); void setNativeJavaClass(String nativeJavaClass); List<String> getAliases(); void setAliases(List<String> aliases); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testToString() { assertTrue(getTestObject().toString().contains("SchemaAttribute")); }