Raise JUnit coverage common-be
[sdc.git] / common-be / src / test / java / org / openecomp / sdc / be / datatypes / enums / OriginTypeEnumTest.java
1 package org.openecomp.sdc.be.datatypes.enums;
2
3 import org.junit.Test;
4
5 public class OriginTypeEnumTest {
6
7         private OriginTypeEnum createTestSubject() {
8                 return OriginTypeEnum.CP;
9         }
10
11         @Test
12         public void testGetValue() throws Exception {
13                 OriginTypeEnum testSubject;
14                 String result;
15
16                 // default test
17                 testSubject = createTestSubject();
18                 result = testSubject.getValue();
19         }
20
21         @Test
22         public void testGetDisplayValue() throws Exception {
23                 OriginTypeEnum testSubject;
24                 String result;
25
26                 // default test
27                 testSubject = createTestSubject();
28                 result = testSubject.getDisplayValue();
29         }
30
31         @Test
32         public void testGetInstanceType() throws Exception {
33                 OriginTypeEnum testSubject;
34                 String result;
35
36                 // default test
37                 testSubject = createTestSubject();
38                 result = testSubject.getInstanceType();
39         }
40
41         @Test
42         public void testGetComponentType() throws Exception {
43                 OriginTypeEnum testSubject;
44                 ComponentTypeEnum result;
45
46                 // default test
47                 testSubject = createTestSubject();
48                 result = testSubject.getComponentType();
49         }
50
51         @Test
52         public void testFindByValue() throws Exception {
53                 String value = "";
54                 OriginTypeEnum result;
55
56                 // default test
57                 result = OriginTypeEnum.findByValue(value);
58                 result = OriginTypeEnum.findByValue(OriginTypeEnum.CP.getValue());
59         }
60 }