### Question:
AssetNoteLog extends AssetReferenceable { public AssetNotes getNotes() { if (notes == null) { return null; } else { return notes.cloneIterator(super.getParentAsset()); } } AssetNoteLog(NoteLog noteLogBean,
                        AssetNotes notes);  AssetNoteLog(AssetDescriptor parentAsset,
                        NoteLog noteLogBean,
                        AssetNotes notes);  AssetNoteLog(AssetDescriptor parentAsset, AssetNoteLog templateNoteLog); String getDisplayName(); String getDescription(); AssetNotes getNotes(); @Override String toString(); @Override boolean equals(Object objectToCompare);  }### Answer:
@Test public void testNotes() { AssetDescriptor parentAsset = new AssetSummary(new Asset()); NoteLog testBean = new NoteLog(); testBean.setType(type); testBean.setGUID("TestDifferentGUID"); testBean.setURL("TestURL"); testBean.setClassifications(classifications); testBean.setDisplayName("TestName"); testBean.setDescription("TestDescription"); AssetNotes assetNotes = new MockAssetNotes( parentAsset, 15, 50); AssetNoteLog testTemplate = new AssetNoteLog(testBean, assetNotes); assertTrue(testTemplate.getNotes() != null); testTemplate = new AssetNoteLog(parentAsset, testBean, assetNotes); assertTrue(testTemplate.getNotes() != null); AssetNoteLog testObject = new AssetNoteLog(parentAsset, testTemplate); assertTrue(testObject.getNotes() != null); }