blob: dca79c60412ee5a2aea05a490f80f7746a897785 (
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
|
package org.openecomp.sdc.be.model.jsonjanusgraph.utils;
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);
}
}
|