Unit tests
[vid.git] / vid-app-common / src / test / java / org / onap / vid / mso / MsoResponseWrapperTest.java
1 package org.onap.vid.mso;
2
3 import org.junit.Test;
4
5 public class MsoResponseWrapperTest {
6
7     private MsoResponseWrapper createTestSubject() {
8         return new MsoResponseWrapper();
9     }
10
11     @Test
12     public void testGetEntity() throws Exception {
13         MsoResponseWrapper testSubject;
14         String result;
15
16         // default test
17         testSubject = createTestSubject();
18         result = testSubject.getEntity();
19     }
20
21     @Test
22     public void testGetStatus() throws Exception {
23         MsoResponseWrapper testSubject;
24         int result;
25
26         // default test
27         testSubject = createTestSubject();
28         result = testSubject.getStatus();
29     }
30
31     @Test
32     public void testSetStatus() throws Exception {
33         MsoResponseWrapper testSubject;
34         int v = 0;
35
36         // default test
37         testSubject = createTestSubject();
38         testSubject.setStatus(v);
39     }
40
41     @Test
42     public void testSetEntity() throws Exception {
43         MsoResponseWrapper testSubject;
44         String v = "";
45
46         // default test
47         testSubject = createTestSubject();
48         testSubject.setEntity(v);
49     }
50
51     @Test
52     public void testToString() throws Exception {
53         MsoResponseWrapper testSubject;
54         String result;
55
56         // default test
57         testSubject = createTestSubject();
58         result = testSubject.toString();
59     }
60
61     @Test
62     public void testGetResponse() throws Exception {
63         MsoResponseWrapper testSubject;
64         String result;
65
66         // default test
67         testSubject = createTestSubject();
68         result = testSubject.getResponse();
69     }
70 }