@Test public void testAssetFeedback() { AssetSummary parentAsset = new AssetSummary(new Asset()); AssetFeedback assetFeedback = new AssetFeedback(parentAsset, null, null, null, null); assertTrue(assetFeedback.getInformalTags() == null); assertTrue(assetFeedback.getLikes() == null); assertTrue(assetFeedback.getRatings() == null); assertTrue(assetFeedback.getComments() == null); assetFeedback = new AssetFeedback(parentAsset, new MockAssetInformalTags(parentAsset, 0, 0), new MockAssetLikes(parentAsset, 0, 0), new MockAssetRatings(parentAsset, 0, 0), new MockAssetComments(parentAsset, 0, 0)); assertTrue(assetFeedback.getInformalTags() != null); assertTrue(assetFeedback.getLikes() != null); assertTrue(assetFeedback.getRatings() != null); assertTrue(assetFeedback.getComments() != null); AssetFeedback assetFeedbackClone = new AssetFeedback(parentAsset, assetFeedback); assertTrue(assetFeedbackClone.getInformalTags() != null); assertTrue(assetFeedbackClone.getLikes() != null); assertTrue(assetFeedbackClone.getRatings() != null); assertTrue(assetFeedbackClone.getComments() != null); }
protected AssetFeedback(AssetDescriptor parentAsset) { super(parentAsset); }
AssetFeedback extends AssetPropertyBase { protected AssetFeedback(AssetDescriptor parentAsset) { super(parentAsset); } }
AssetFeedback extends AssetPropertyBase { protected AssetFeedback(AssetDescriptor parentAsset) { super(parentAsset); } protected  AssetFeedback(AssetDescriptor parentAsset);  AssetFeedback(AssetDescriptor parentAsset,
                         AssetInformalTags informalTags,
                         AssetLikes likes,
                         AssetRatings ratings,
                         AssetComments comments);  AssetFeedback(AssetDescriptor parentAsset, AssetFeedback templateFeedback); }
AssetFeedback extends AssetPropertyBase { protected AssetFeedback(AssetDescriptor parentAsset) { super(parentAsset); } protected  AssetFeedback(AssetDescriptor parentAsset);  AssetFeedback(AssetDescriptor parentAsset,
                         AssetInformalTags informalTags,
                         AssetLikes likes,
                         AssetRatings ratings,
                         AssetComments comments);  AssetFeedback(AssetDescriptor parentAsset, AssetFeedback templateFeedback); AssetInformalTags getInformalTags(); AssetLikes getLikes(); AssetRatings getRatings(); AssetComments getComments(); @Override String toString(); @Override boolean equals(Object objectToCompare); }
AssetFeedback extends AssetPropertyBase { protected AssetFeedback(AssetDescriptor parentAsset) { super(parentAsset); } protected  AssetFeedback(AssetDescriptor parentAsset);  AssetFeedback(AssetDescriptor parentAsset,
                         AssetInformalTags informalTags,
                         AssetLikes likes,
                         AssetRatings ratings,
                         AssetComments comments);  AssetFeedback(AssetDescriptor parentAsset, AssetFeedback templateFeedback); AssetInformalTags getInformalTags(); AssetLikes getLikes(); AssetRatings getRatings(); AssetComments getComments(); @Override String toString(); @Override boolean equals(Object objectToCompare);  }