re base code
[sdc.git] / common-app-api / src / test / java / org / openecomp / sdc / common / config / EcompErrorConfigurationTest.java
1 package org.openecomp.sdc.common.config;
2
3 import org.junit.Test;
4
5 import java.util.Map;
6
7
8 public class EcompErrorConfigurationTest {
9
10         private EcompErrorConfiguration createTestSubject() {
11                 return new EcompErrorConfiguration();
12         }
13
14         
15         @Test
16         public void testGetErrors() throws Exception {
17                 EcompErrorConfiguration testSubject;
18                 Map<String, EcompErrorInfo> result;
19
20                 // default test
21                 testSubject = createTestSubject();
22                 result = testSubject.getErrors();
23         }
24
25         
26         
27         @Test
28         public void testGetEcompErrorInfo() throws Exception {
29                 EcompErrorConfiguration testSubject;
30                 String key = "";
31                 EcompErrorInfo result;
32
33                 // default test
34                 testSubject = createTestSubject();
35                 result = testSubject.getEcompErrorInfo(key);
36         }
37
38         
39
40         @Test
41         public void testToString() throws Exception {
42                 EcompErrorConfiguration testSubject;
43                 String result;
44
45                 // default test
46                 testSubject = createTestSubject();
47                 result = testSubject.toString();
48         }
49
50         
51         @Test
52         public void testMain() throws Exception {
53                 String[] args = new String[] { "" };
54
55                 // default test
56                 EcompErrorConfiguration.main(args);
57         }
58 }