aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ProductMetadataDataTest.java
diff options
context:
space:
mode:
authorYuli Shlosberg <ys9693@att.com>2017-10-17 16:38:07 +0300
committerYuli Shlosberg <ys9693@att.com>2017-10-22 08:30:44 +0000
commit56f02056947bd1bfd4310c86401113062cf3a74e (patch)
tree4b2afee29fc0a5aa5b88696903a6b9f68c5cf4f0 /catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ProductMetadataDataTest.java
parentbc077839a99429fede9cb027f58a209e72f81ba6 (diff)
add unit tests to BE components
Change-Id: Ic22f03832f1810f51958db2e7dba5569a9bf1cd7 Issue-Id: SDC-467 Signed-off-by: Yuli Shlosberg <ys9693@att.com> (cherry picked from commit 031b1e4dc965195624fb0c574376cba1b0c57488)
Diffstat (limited to 'catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ProductMetadataDataTest.java')
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ProductMetadataDataTest.java48
1 files changed, 48 insertions, 0 deletions
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ProductMetadataDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ProductMetadataDataTest.java
new file mode 100644
index 0000000000..382ca38e86
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ProductMetadataDataTest.java
@@ -0,0 +1,48 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ProductMetadataDataTest {
+
+ private ProductMetadataData createTestSubject() {
+ return new ProductMetadataData();
+ }
+
+
+ @Test
+ public void testGetUniqueIdKey() throws Exception {
+ ProductMetadataData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueIdKey();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ ProductMetadataData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ProductMetadataData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file