1 package org.onap.vid.model;
5 public class ExceptionResponseTest {
7 private ExceptionResponse createTestSubject() {
8 return new ExceptionResponse();
12 public void testGetException() throws Exception {
13 ExceptionResponse testSubject;
17 testSubject = createTestSubject();
18 result = testSubject.getException();
22 public void testSetException() throws Exception {
23 ExceptionResponse testSubject;
24 String exception = "";
27 testSubject = createTestSubject();
28 testSubject.setException(exception);
32 public void testGetMessage() throws Exception {
33 ExceptionResponse testSubject;
37 testSubject = createTestSubject();
38 result = testSubject.getMessage();
42 public void testSetMessage() throws Exception {
43 ExceptionResponse testSubject;
47 testSubject = createTestSubject();
48 testSubject.setMessage(message);