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