diff options
author | 2020-05-20 13:30:28 +0530 | |
---|---|---|
committer | 2020-05-20 13:38:23 +0000 | |
commit | 89e22c1ebb31304382bc8548b5220ebd6aeaf39e (patch) | |
tree | d9628e2a77b8cd972c91df0e556be03f8d913b1f /appc-outbound/appc-aai-client/provider | |
parent | 13ea0be3281311ef1a7dce434095b8ff6a0b1180 (diff) |
fixed jUnits in 5 files
Issue-ID: APPC-1859
Change-Id: I4ac447fc9884b30aa07924137d0142b97e43e8a0
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
Diffstat (limited to 'appc-outbound/appc-aai-client/provider')
-rw-r--r-- | appc-outbound/appc-aai-client/provider/src/test/java/org/onap/appc/aai/client/node/TestAAIResourceNode.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/appc-outbound/appc-aai-client/provider/src/test/java/org/onap/appc/aai/client/node/TestAAIResourceNode.java b/appc-outbound/appc-aai-client/provider/src/test/java/org/onap/appc/aai/client/node/TestAAIResourceNode.java index cb0758406..d1d224b43 100644 --- a/appc-outbound/appc-aai-client/provider/src/test/java/org/onap/appc/aai/client/node/TestAAIResourceNode.java +++ b/appc-outbound/appc-aai-client/provider/src/test/java/org/onap/appc/aai/client/node/TestAAIResourceNode.java @@ -104,6 +104,7 @@ public class TestAAIResourceNode { AAIResourceNode aai = new AAIResourceNode(); aai.populateContext(vservers, ctx, "vserver."); log.info(ctx.getAttribute("vserver.vm[0].vserver-name")); + assertNotNull(vserverMap); } @Test @@ -245,6 +246,7 @@ public class TestAAIResourceNode { AaiService aaiService = Mockito.mock(AaiService.class); Mockito.doReturn(aaiService).when(aai).getAaiService(); aai.addVnfcs(inParams, ctx); + assertNotNull(ctx); } @Test @@ -347,6 +349,7 @@ public class TestAAIResourceNode { ctx.setAttribute("test.vnf.vm-with-no-vnfcs-count-vf-module", "0"); ctx.setAttribute("test.vnf.vm-count-for-vf-module", "2"); aairn.processCheckForVfModule("vfmoduleId1", ctx, "test.", 2); + assertNotNull(aairn); } @Test |