summaryrefslogtreecommitdiffstats
path: root/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/GraphEdgePropertiesDictionaryTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/GraphEdgePropertiesDictionaryTest.java')
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/GraphEdgePropertiesDictionaryTest.java70
1 files changed, 70 insertions, 0 deletions
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
index 0000000000..9a1514ec4f
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/GraphEdgePropertiesDictionaryTest.java
@@ -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