aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/GraphEdgeLabelsTest.java
blob: e658c3cd7687799ccfa90d18bd40647dd6c18eaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package org.openecomp.sdc.be.dao.neo4j;

import org.junit.Test;

import java.util.List;

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");
	}
}