added test case to increase code coverage
Issue-ID: APPC-1086
Change-Id: Iad87297e2f52c7a14bfa178ab6be4a841604715d
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
import org.junit.Before;
import org.junit.Test;
+import org.onap.appc.domainmodel.lcm.RuntimeContext;
public class TestCommandExecutorInput {
assertNotEquals(commandExecutorInput.toString(), null);
}
+
+ @Test
+ public void testGetRuntimeContext() {
+ RuntimeContext runtime= new RuntimeContext();
+ commandExecutorInput.setRuntimeContext(runtime);
+ assertEquals(runtime, commandExecutorInput.getRuntimeContext());
+ }
+
}