added atleat one assert statement in test case
[appc.git] / appc-adapters / appc-rest-adapter / appc-rest-adapter-bundle / src / test / java / org / onap / appc / adapter / rest / impl / TestRestAdapterImpl.java
index 5087cfa..328e9a8 100644 (file)
@@ -207,6 +207,7 @@ public class TestRestAdapterImpl {
         Map<String, String> mockParams = Mockito.mock(Map.class);
         Mockito.when(mockParams.get("org.onap.appc.instance.URI")).thenThrow(new RuntimeException("\n\n"));
         adapter.createHttpRequest("test_method", mockParams, new RequestContext(new SvcLogicContext()));
+        assertNotNull(mockParams);
     }
 
     @Test
@@ -227,6 +228,7 @@ public class TestRestAdapterImpl {
         SvcLogicContext ctx = new SvcLogicContext();
         Map<String, String> params = new HashMap<>();
         adapter.commonGet(params, ctx);
+        assertNotNull(params);
     }
 
     @Test