Refactoring Consolidation Service
[sdc.git] / common-app-api / src / test / java / org / openecomp / sdc / common / api / ResponseInfoTest.java
1 package org.openecomp.sdc.common.api;
2
3 import org.junit.Test;
4 import org.openecomp.sdc.common.api.ResponseInfo.ResponseStatusEnum;
5
6
7 public class ResponseInfoTest {
8
9         private ResponseInfo createTestSubject() {
10                 return new ResponseInfo(null, "");
11         }
12
13         
14         @Test
15         public void testGetApplicativeStatus() throws Exception {
16                 ResponseInfo testSubject;
17                 ResponseStatusEnum result;
18
19                 // default test
20                 testSubject = createTestSubject();
21                 result = testSubject.getApplicativeStatus();
22         }
23
24         
25         @Test
26         public void testSetApplicativeStatus() throws Exception {
27                 ResponseInfo testSubject;
28                 ResponseStatusEnum applicativeStatus = null;
29
30                 // default test
31                 testSubject = createTestSubject();
32                 testSubject.setApplicativeStatus(applicativeStatus);
33         }
34
35         
36         @Test
37         public void testGetDescription() throws Exception {
38                 ResponseInfo testSubject;
39                 String result;
40
41                 // default test
42                 testSubject = createTestSubject();
43                 result = testSubject.getDescription();
44         }
45
46         
47         @Test
48         public void testSetDescription() throws Exception {
49                 ResponseInfo testSubject;
50                 String description = "";
51
52                 // default test
53                 testSubject = createTestSubject();
54                 testSubject.setDescription(description);
55         }
56
57         
58
59 }