aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/mso/rest/ResponseTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/src/test/java/org/onap/vid/mso/rest/ResponseTest.java')
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/mso/rest/ResponseTest.java50
1 files changed, 50 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/mso/rest/ResponseTest.java b/vid-app-common/src/test/java/org/onap/vid/mso/rest/ResponseTest.java
new file mode 100644
index 000000000..56ec6a49e
--- /dev/null
+++ b/vid-app-common/src/test/java/org/onap/vid/mso/rest/ResponseTest.java
@@ -0,0 +1,50 @@
+package org.onap.vid.mso.rest;
+
+import org.junit.Test;
+
+public class ResponseTest {
+
+ private Response createTestSubject() {
+ return new Response();
+ }
+
+ @Test
+ public void testGetStatus() throws Exception {
+ Response testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+ @Test
+ public void testSetStatus() throws Exception {
+ Response testSubject;
+ int status = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+ @Test
+ public void testGetEntity() throws Exception {
+ Response testSubject;
+ RequestList result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEntity();
+ }
+
+ @Test
+ public void testSetEntity() throws Exception {
+ Response testSubject;
+ RequestList entity = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEntity(entity);
+ }
+} \ No newline at end of file