### Question:
AssetEvent extends AssetConsumerEvent { public Asset getAsset() { return asset; } 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 testNullObject() { AssetEvent nullObject = new AssetEvent(); assertTrue(nullObject.getEventType() == null); assertTrue(nullObject.getAsset() == null); nullObject = new AssetEvent(null); assertTrue(nullObject.getEventType() == null); assertTrue(nullObject.getAsset() == null); }