aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/utils/IdMapperTest.java
blob: 3429f1ea4993c06e224c5ac505a6d6c16819a5d1 (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
package org.openecomp.sdc.be.model.jsontitan.utils;

import javax.annotation.Generated;

import org.junit.Test;
import org.openecomp.sdc.be.dao.jsongraph.GraphVertex;

public class IdMapperTest {

	private IdMapper createTestSubject() {
		return new IdMapper();
	}

	
	@Test
	public void testMapComponentNameToUniqueId() throws Exception {
		IdMapper testSubject;
		String componentInstanceName = "";
		GraphVertex serviceVertex = null;
		String result;

		// default test
		testSubject = createTestSubject();
		result = testSubject.mapComponentNameToUniqueId(componentInstanceName, serviceVertex);
	}

	
	@Test
	public void testMapUniqueIdToComponentNameTo() throws Exception {
		IdMapper testSubject;
		String compUniqueId = "";
		GraphVertex serviceVertex = null;
		String result;

		// default test
		testSubject = createTestSubject();
		result = testSubject.mapUniqueIdToComponentNameTo(compUniqueId, serviceVertex);
	}
}