summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-08-23 15:27:16 +0530
committerTakamune Cho <tc012c@att.com>2018-08-23 20:49:24 +0000
commit74352d2f9903d2a164fe33fe8c3ce4fe83476442 (patch)
treefa164a691d0852a80f6db241931e00e75178d57d
parent83bf8293db15b5a83357ae9acf90d1066f998455 (diff)
add test case to TestRequestContext.java
to increase code coverage Issue-ID: APPC-1086 Change-Id: I6d6319321f930bd736c85f42676f448c4f44b48a Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
-rw-r--r--appc-dispatcher/appc-dispatcher-common/domain-model-lib/src/test/java/org/onap/appc/domainmodel/lcm/TestRequestContext.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/appc-dispatcher/appc-dispatcher-common/domain-model-lib/src/test/java/org/onap/appc/domainmodel/lcm/TestRequestContext.java b/appc-dispatcher/appc-dispatcher-common/domain-model-lib/src/test/java/org/onap/appc/domainmodel/lcm/TestRequestContext.java
index b825a22b9..4df409995 100644
--- a/appc-dispatcher/appc-dispatcher-common/domain-model-lib/src/test/java/org/onap/appc/domainmodel/lcm/TestRequestContext.java
+++ b/appc-dispatcher/appc-dispatcher-common/domain-model-lib/src/test/java/org/onap/appc/domainmodel/lcm/TestRequestContext.java
@@ -98,5 +98,13 @@ public class TestRequestContext {
requestContext.setActionIdentifiers(actionIdentifiers);
assertEquals(actionIdentifiers, requestContext.getActionIdentifiers());
}
+
+ @Test
+ public void testGetSetAction()
+ {
+ VNFOperation action= VNFOperation.ActionStatus;
+ requestContext.setAction(action);
+ assertEquals(action, requestContext.getAction());
+ }
}