1 package org.openecomp.sdc.common.config;
8 public class EcompErrorConfigurationTest {
10 private EcompErrorConfiguration createTestSubject() {
11 return new EcompErrorConfiguration();
16 public void testGetErrors() throws Exception {
17 EcompErrorConfiguration testSubject;
18 Map<String, EcompErrorInfo> result;
21 testSubject = createTestSubject();
22 result = testSubject.getErrors();
28 public void testGetEcompErrorInfo() throws Exception {
29 EcompErrorConfiguration testSubject;
31 EcompErrorInfo result;
34 testSubject = createTestSubject();
35 result = testSubject.getEcompErrorInfo(key);
41 public void testToString() throws Exception {
42 EcompErrorConfiguration testSubject;
46 testSubject = createTestSubject();
47 result = testSubject.toString();
52 public void testMain() throws Exception {
53 String[] args = new String[] { "" };
56 EcompErrorConfiguration.main(args);