new unit tests for sdc-dao
[sdc.git] / catalog-dao / src / test / java / org / openecomp / sdc / be / dao / neo4j / GraphEdgeLabelsTest.java
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/GraphEdgeLabelsTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/GraphEdgeLabelsTest.java
new file mode 100644 (file)
index 0000000..40800f7
--- /dev/null
@@ -0,0 +1,50 @@
+package org.openecomp.sdc.be.dao.neo4j;
+
+import java.util.List;
+
+import org.junit.Test;
+
+public class GraphEdgeLabelsTest {
+
+       private GraphEdgeLabels createTestSubject() {
+               return GraphEdgeLabels.ADDITIONAL_INFORMATION;
+       }
+
+       @Test
+       public void testGetProperty() throws Exception {
+               GraphEdgeLabels testSubject;
+               String result;
+
+               // default test
+               testSubject = createTestSubject();
+               result = testSubject.getProperty();
+       }
+
+       @Test
+       public void testSetProperty() throws Exception {
+               GraphEdgeLabels testSubject;
+               String property = "";
+
+               // default test
+               testSubject = createTestSubject();
+               testSubject.setProperty(property);
+       }
+
+       @Test
+       public void testGetAllProperties() throws Exception {
+               List<String> result;
+
+               // default test
+               result = GraphEdgeLabels.getAllProperties();
+       }
+
+       @Test
+       public void testGetByName() throws Exception {
+               String property = "";
+               GraphEdgeLabels result;
+
+               // default test
+               result = GraphEdgeLabels.getByName(property);
+               result = GraphEdgeLabels.getByName("mock");
+       }
+}
\ No newline at end of file