From da798106f84c0905c8b82365c202f14f6d549511 Mon Sep 17 00:00:00 2001 From: Rupinder Date: Tue, 19 May 2020 17:42:26 +0530 Subject: added assert statements in Test classes Issue-ID: APPC-1859 Change-Id: I0a5efe00032124475e53f5ade9a659f714fdaca7 Signed-off-by: Rupinder --- .../src/test/java/org/onap/appc/executor/impl/TestCommandTask.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'appc-dispatcher/appc-command-executor/appc-command-executor-core/src') diff --git a/appc-dispatcher/appc-command-executor/appc-command-executor-core/src/test/java/org/onap/appc/executor/impl/TestCommandTask.java b/appc-dispatcher/appc-command-executor/appc-command-executor-core/src/test/java/org/onap/appc/executor/impl/TestCommandTask.java index 4b94282ab..e8f6c1440 100644 --- a/appc-dispatcher/appc-command-executor/appc-command-executor-core/src/test/java/org/onap/appc/executor/impl/TestCommandTask.java +++ b/appc-dispatcher/appc-command-executor/appc-command-executor-core/src/test/java/org/onap/appc/executor/impl/TestCommandTask.java @@ -30,6 +30,7 @@ import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.isA; import static org.hamcrest.beans.HasPropertyWithValue.hasProperty; import static org.mockito.Matchers.anyObject; +import static org.junit.Assert.assertNotNull; import org.junit.Assert; import org.junit.Before; import org.junit.Rule; @@ -143,6 +144,7 @@ public class TestCommandTask { VNFOperation.Terminate, "2", "1.0")); setResponseContext(100, task.getCommandRequest().getCommandExecutorInput().getRuntimeContext()); task.run(); + assertNotNull(mockAai); } @Test -- cgit 1.2.3-korg