diff options
Diffstat (limited to 'src/test/java/org/onap/dcae/vestest/TestEventReceipt.java')
-rw-r--r-- | src/test/java/org/onap/dcae/vestest/TestEventReceipt.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/java/org/onap/dcae/vestest/TestEventReceipt.java b/src/test/java/org/onap/dcae/vestest/TestEventReceipt.java index 668c718a..3af66fb0 100644 --- a/src/test/java/org/onap/dcae/vestest/TestEventReceipt.java +++ b/src/test/java/org/onap/dcae/vestest/TestEventReceipt.java @@ -34,6 +34,7 @@ import org.onap.dcae.commonFunction.CommonStartup; import org.onap.dcae.commonFunction.CommonStartup.QueueFullException;
import org.onap.dcae.commonFunction.CustomExceptionLoader;
import org.onap.dcae.restapi.endpoints.EventReceipt;
+import org.onap.dcae.restapi.endpoints.Ui;
import com.att.nsa.apiServer.endpoints.NsaBaseEndpoint;
import com.att.nsa.drumlin.service.framework.context.DrumlinRequestContext;
@@ -120,4 +121,18 @@ public class TestEventReceipt extends NsaBaseEndpoint { }
assertEquals(true, true);
}
+
+ @Test
+ public void testUI() {
+
+ try {
+ Ui.hello(null);
+ }
+ catch (Exception e)
+ {
+ //As context object is null, handling null pointer exception.
+ Log.debug("Response object creation failure");
+ }
+ assertEquals(true, true);
+ }
}
|