diff options
Diffstat (limited to 'vid-app-common/src/test/java/org/onap/vid/mso/MsoResponseWrapper2Test.java')
-rw-r--r-- | vid-app-common/src/test/java/org/onap/vid/mso/MsoResponseWrapper2Test.java | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/mso/MsoResponseWrapper2Test.java b/vid-app-common/src/test/java/org/onap/vid/mso/MsoResponseWrapper2Test.java new file mode 100644 index 00000000..27981bbd --- /dev/null +++ b/vid-app-common/src/test/java/org/onap/vid/mso/MsoResponseWrapper2Test.java @@ -0,0 +1,40 @@ +package org.onap.vid.mso; + +import org.junit.Test; + +public class MsoResponseWrapper2Test { + + private MsoResponseWrapper2 createTestSubject() { + return new MsoResponseWrapper2(new RestObject()); + } + + @Test + public void testGetStatus() throws Exception { + MsoResponseWrapper2 testSubject; + int result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getStatus(); + } + + @Test + public void testGetResponse() throws Exception { + MsoResponseWrapper2 testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getResponse(); + } + + @Test + public void testGetEntity() throws Exception { + MsoResponseWrapper2 testSubject; + Object result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getEntity(); + } +}
\ No newline at end of file |