diff options
author | Rupinder <rupinsi1@in.ibm.com> | 2020-05-19 17:42:26 +0530 |
---|---|---|
committer | Takamune Cho <takamune.cho@att.com> | 2020-05-19 14:13:51 +0000 |
commit | da798106f84c0905c8b82365c202f14f6d549511 (patch) | |
tree | 2cf64750d4a4a3258472cfbebc2eaef0357188f8 /appc-dispatcher/appc-command-executor/appc-command-executor-core | |
parent | 231de316a76b195936545e35ccb59931ffde4128 (diff) |
added assert statements in Test classes
Issue-ID: APPC-1859
Change-Id: I0a5efe00032124475e53f5ade9a659f714fdaca7
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
Diffstat (limited to 'appc-dispatcher/appc-command-executor/appc-command-executor-core')
-rw-r--r-- | appc-dispatcher/appc-command-executor/appc-command-executor-core/src/test/java/org/onap/appc/executor/impl/TestCommandTask.java | 2 |
1 files changed, 2 insertions, 0 deletions
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 |