added assert statements in Test classes
[appc.git] / appc-dispatcher / appc-command-executor / appc-command-executor-core / src / test / java / org / onap / appc / executor / impl / TestCommandTask.java
index 4b94282..e8f6c14 100644 (file)
@@ -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