summaryrefslogtreecommitdiffstats
path: root/appc-dispatcher/appc-command-executor/appc-command-executor-api/src
diff options
context:
space:
mode:
Diffstat (limited to 'appc-dispatcher/appc-command-executor/appc-command-executor-api/src')
-rw-r--r--appc-dispatcher/appc-command-executor/appc-command-executor-api/src/test/java/org/onap/appc/executor/objects/TestCommandExecutorInput.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/appc-dispatcher/appc-command-executor/appc-command-executor-api/src/test/java/org/onap/appc/executor/objects/TestCommandExecutorInput.java b/appc-dispatcher/appc-command-executor/appc-command-executor-api/src/test/java/org/onap/appc/executor/objects/TestCommandExecutorInput.java
index fd1511415..3d31310b7 100644
--- a/appc-dispatcher/appc-command-executor/appc-command-executor-api/src/test/java/org/onap/appc/executor/objects/TestCommandExecutorInput.java
+++ b/appc-dispatcher/appc-command-executor/appc-command-executor-api/src/test/java/org/onap/appc/executor/objects/TestCommandExecutorInput.java
@@ -22,6 +22,7 @@ import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
+import org.onap.appc.domainmodel.lcm.RuntimeContext;
public class TestCommandExecutorInput {
@@ -48,5 +49,13 @@ public class TestCommandExecutorInput {
assertNotEquals(commandExecutorInput.toString(), null);
}
+
+ @Test
+ public void testGetRuntimeContext() {
+ RuntimeContext runtime= new RuntimeContext();
+ commandExecutorInput.setRuntimeContext(runtime);
+ assertEquals(runtime, commandExecutorInput.getRuntimeContext());
+ }
+
}