diff options
Diffstat (limited to 'catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/category/CategoryDataTest.java')
-rw-r--r-- | catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/category/CategoryDataTest.java | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/category/CategoryDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/category/CategoryDataTest.java new file mode 100644 index 0000000000..1072635fcc --- /dev/null +++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/category/CategoryDataTest.java @@ -0,0 +1,60 @@ +package org.openecomp.sdc.be.resources.data.category; + +import java.util.Map; + +import javax.annotation.Generated; + +import org.junit.Test; +import org.openecomp.sdc.be.datatypes.category.CategoryDataDefinition; +import org.openecomp.sdc.be.datatypes.enums.NodeTypeEnum; + +public class CategoryDataTest { + + private CategoryData createTestSubject() { + return new CategoryData(NodeTypeEnum.AdditionalInfoParameters); + } + + + @Test + public void testGetUniqueId() throws Exception { + CategoryData testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getUniqueId(); + } + + + @Test + public void testGetCategoryDataDefinition() throws Exception { + CategoryData testSubject; + CategoryDataDefinition result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getCategoryDataDefinition(); + } + + + @Test + public void testToGraphMap() throws Exception { + CategoryData testSubject; + Map<String, Object> result; + + // default test + testSubject = createTestSubject(); + result = testSubject.toGraphMap(); + } + + + @Test + public void testToString() throws Exception { + CategoryData testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.toString(); + } +}
\ No newline at end of file |