### Question:
AssetElementHeader extends AssetPropertyBase { @Override public String toString() { if (elementHeaderBean == null) { return new ElementHeader().toString(); } return elementHeaderBean.toString(); } protected  AssetElementHeader(AssetDescriptor parentAsset); protected  AssetElementHeader(ElementHeader elementHeaderBean); protected  AssetElementHeader(AssetDescriptor parentAsset,
                                 ElementHeader elementHeaderBean); protected  AssetElementHeader(AssetDescriptor parentAsset, AssetElementHeader assetElementHeader); AssetElementType getType(); String getGUID(); String getURL(); List<AssetClassification> getAssetClassifications(); Map<String, Object> getExtendedProperties(); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testToString() { AssetElementHeader testObject = getTestObject(); assertTrue(testObject.toString().contains("ElementHeader")); testObject.setBean(null); assertTrue(testObject.toString().contains("ElementHeader")); }