aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/model/ExceptionResponseTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/src/test/java/org/onap/vid/model/ExceptionResponseTest.java')
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/model/ExceptionResponseTest.java50
1 files changed, 50 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/model/ExceptionResponseTest.java b/vid-app-common/src/test/java/org/onap/vid/model/ExceptionResponseTest.java
new file mode 100644
index 000000000..6d1a7ada9
--- /dev/null
+++ b/vid-app-common/src/test/java/org/onap/vid/model/ExceptionResponseTest.java
@@ -0,0 +1,50 @@
+package org.onap.vid.model;
+
+import org.junit.Test;
+
+public class ExceptionResponseTest {
+
+ private ExceptionResponse createTestSubject() {
+ return new ExceptionResponse();
+ }
+
+ @Test
+ public void testGetException() throws Exception {
+ ExceptionResponse testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getException();
+ }
+
+ @Test
+ public void testSetException() throws Exception {
+ ExceptionResponse testSubject;
+ String exception = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setException(exception);
+ }
+
+ @Test
+ public void testGetMessage() throws Exception {
+ ExceptionResponse testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMessage();
+ }
+
+ @Test
+ public void testSetMessage() throws Exception {
+ ExceptionResponse testSubject;
+ String message = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMessage(message);
+ }
+} \ No newline at end of file