diff options
Diffstat (limited to 'appc-adapters/appc-rest-adapter')
-rw-r--r-- | appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle/src/test/java/org/onap/appc/adapter/rest/impl/TestRestAdapterImpl.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle/src/test/java/org/onap/appc/adapter/rest/impl/TestRestAdapterImpl.java b/appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle/src/test/java/org/onap/appc/adapter/rest/impl/TestRestAdapterImpl.java index 5087cfa84..328e9a84e 100644 --- a/appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle/src/test/java/org/onap/appc/adapter/rest/impl/TestRestAdapterImpl.java +++ b/appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle/src/test/java/org/onap/appc/adapter/rest/impl/TestRestAdapterImpl.java @@ -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 |