blob: 39ea68c3fe8f82da81c6e6b0807ce2e1b2c00e4d (
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.jsontitan.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);
}
}
|