Unit tests
[vid.git] / vid-app-common / src / test / java / org / onap / vid / mso / MsoResponseWrapper2Test.java
1 package org.onap.vid.mso;
2
3 import org.junit.Test;
4
5 public class MsoResponseWrapper2Test {
6
7     private MsoResponseWrapper2 createTestSubject() {
8         return new MsoResponseWrapper2(new RestObject());
9     }
10
11     @Test
12     public void testGetStatus() throws Exception {
13         MsoResponseWrapper2 testSubject;
14         int result;
15
16         // default test
17         testSubject = createTestSubject();
18         result = testSubject.getStatus();
19     }
20
21     @Test
22     public void testGetResponse() throws Exception {
23         MsoResponseWrapper2 testSubject;
24         String result;
25
26         // default test
27         testSubject = createTestSubject();
28         result = testSubject.getResponse();
29     }
30
31     @Test
32     public void testGetEntity() throws Exception {
33         MsoResponseWrapper2 testSubject;
34         Object result;
35
36         // default test
37         testSubject = createTestSubject();
38         result = testSubject.getEntity();
39     }
40 }