### Question:
AssetDetail extends AssetSummary { @Override public String toString() { return "AssetDetail{" + "assetBean=" + assetBean + ", externalIdentifiers=" + externalIdentifiers + ", relatedMediaReferences=" + relatedMediaReferences + ", noteLogs=" + noteLogs + ", externalReferences=" + externalReferences + ", connections=" + connections + ", licenses=" + licenses + ", certifications=" + certifications + '}'; } protected  AssetDetail();  AssetDetail(Asset                       assetBean,
                       AssetExternalIdentifiers    externalIdentifiers,
                       AssetRelatedMediaReferences relatedMediaReferences,
                       AssetNoteLogs               noteLogs,
                       AssetExternalReferences     externalReferences,
                       AssetConnections            connections,
                       AssetLicenses               licenses,
                       AssetCertifications         certifications);  AssetDetail(AssetDetail templateAssetDetail); AssetExternalIdentifiers getExternalIdentifiers(); AssetRelatedMediaReferences getRelatedMediaReferences(); AssetNoteLogs getNoteLogs(); AssetExternalReferences getExternalReferences(); AssetConnections getConnections(); AssetLicenses getLicenses(); AssetCertifications getCertifications(); @Override String toString(); @Override boolean equals(Object objectToCompare);  }### Answer:
@Test public void testToString() { AssetExternalIdentifiers externalIdentifiers = new MockAssetExternalIdentifiers(null, 15, 50); AssetRelatedMediaReferences relatedMediaReferences = new MockAssetRelatedMediaReferences(null, 15, 50); AssetNoteLogs noteLogs = new MockAssetNoteLogs(null, 15, 50); AssetExternalReferences externalReferences = new MockAssetExternalReferences(null, 15, 50); AssetConnections connections = new MockAssetConnections(null, 15, 50); AssetLicenses licenses = new MockAssetLicenses(null, 15, 50); AssetCertifications certifications = new MockAssetCertifications(null, 15, 50); AssetDetail testTemplate = new AssetDetail(new Asset(), externalIdentifiers, relatedMediaReferences, noteLogs, externalReferences, connections, licenses, certifications); AssetDetail testObject = new AssetDetail(testTemplate); assertTrue(testObject.toString().contains("Asset")); }