### Question:
AssetEvent extends AssetConsumerEvent { @Override public String toString() { return "AssetEvent{" + "asset=" + asset + ", eventVersionId=" + getEventVersionId() + ", eventType=" + getEventType() + '}'; } AssetEvent();  AssetEvent(AssetEvent template); Asset getAsset(); void setAsset(Asset asset); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testToString() { assertTrue(getTestObject().toString().contains("AssetEvent")); }