re base code
[sdc.git] / common-app-api / src / test / java / org / openecomp / sdc / common / config / EcompErrorInfoTest.java
1 package org.openecomp.sdc.common.config;
2
3 import org.junit.Test;
4
5 public class EcompErrorInfoTest {
6
7         private EcompErrorInfo createTestSubject() {
8                 return new EcompErrorInfo();
9         }
10
11         @Test
12         public void testGetType() throws Exception {
13                 EcompErrorInfo testSubject;
14                 String result;
15
16                 // default test
17                 testSubject = createTestSubject();
18                 result = testSubject.getType();
19         }
20
21         @Test
22         public void testSetType() throws Exception {
23                 EcompErrorInfo testSubject;
24                 String type = "";
25
26                 // default test
27                 testSubject = createTestSubject();
28                 testSubject.setType(type);
29         }
30
31         @Test
32         public void testGetCode() throws Exception {
33                 EcompErrorInfo testSubject;
34                 String result;
35
36                 // default test
37                 testSubject = createTestSubject();
38                 result = testSubject.getCode();
39         }
40
41         @Test
42         public void testSetCode() throws Exception {
43                 EcompErrorInfo testSubject;
44                 String code = "";
45
46                 // default test
47                 testSubject = createTestSubject();
48                 testSubject.setCode(code);
49         }
50
51         @Test
52         public void testGetSeverity() throws Exception {
53                 EcompErrorInfo testSubject;
54                 String result;
55
56                 // default test
57                 testSubject = createTestSubject();
58                 result = testSubject.getSeverity();
59         }
60
61         @Test
62         public void testSetSeverity() throws Exception {
63                 EcompErrorInfo testSubject;
64                 String severity = "";
65
66                 // default test
67                 testSubject = createTestSubject();
68                 testSubject.setSeverity(severity);
69         }
70
71         @Test
72         public void testGetDescription() throws Exception {
73                 EcompErrorInfo testSubject;
74                 String result;
75
76                 // default test
77                 testSubject = createTestSubject();
78                 result = testSubject.getDescription();
79         }
80
81         @Test
82         public void testSetDescription() throws Exception {
83                 EcompErrorInfo testSubject;
84                 String description = "";
85
86                 // default test
87                 testSubject = createTestSubject();
88                 testSubject.setDescription(description);
89         }
90
91         @Test
92         public void testGetAlarmSeverity() throws Exception {
93                 EcompErrorInfo testSubject;
94                 String result;
95
96                 // default test
97                 testSubject = createTestSubject();
98                 result = testSubject.getAlarmSeverity();
99         }
100
101         @Test
102         public void testSetAlarmSeverity() throws Exception {
103                 EcompErrorInfo testSubject;
104                 String alarmSeverity = "";
105
106                 // default test
107                 testSubject = createTestSubject();
108                 testSubject.setAlarmSeverity(alarmSeverity);
109         }
110
111 }