blob: e2959cd8607920a76d1b75817871cd8014e10469 (
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
51
52
53
54
55
56
57
58
59
60
|
package org.openecomp.sdc.be.datatypes.enums;
import org.junit.Test;
public class OriginTypeEnumTest {
private OriginTypeEnum createTestSubject() {
return OriginTypeEnum.CP;
}
@Test
public void testGetValue() throws Exception {
OriginTypeEnum testSubject;
String result;
// default test
testSubject = createTestSubject();
result = testSubject.getValue();
}
@Test
public void testGetDisplayValue() throws Exception {
OriginTypeEnum testSubject;
String result;
// default test
testSubject = createTestSubject();
result = testSubject.getDisplayValue();
}
@Test
public void testGetInstanceType() throws Exception {
OriginTypeEnum testSubject;
String result;
// default test
testSubject = createTestSubject();
result = testSubject.getInstanceType();
}
@Test
public void testGetComponentType() throws Exception {
OriginTypeEnum testSubject;
ComponentTypeEnum result;
// default test
testSubject = createTestSubject();
result = testSubject.getComponentType();
}
@Test
public void testFindByValue() throws Exception {
String value = "";
OriginTypeEnum result;
// default test
result = OriginTypeEnum.findByValue(value);
result = OriginTypeEnum.findByValue(OriginTypeEnum.CP.getValue());
}
}
|