From 74352d2f9903d2a164fe33fe8c3ce4fe83476442 Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Thu, 23 Aug 2018 15:27:16 +0530 Subject: add test case to TestRequestContext.java to increase code coverage Issue-ID: APPC-1086 Change-Id: I6d6319321f930bd736c85f42676f448c4f44b48a Signed-off-by: Sandeep J --- .../java/org/onap/appc/domainmodel/lcm/TestRequestContext.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'appc-dispatcher') 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()); + } } -- cgit 1.2.3-korg