summaryrefslogtreecommitdiffstats
path: root/appc-dispatcher
diff options
context:
space:
mode:
Diffstat (limited to 'appc-dispatcher')
-rw-r--r--appc-dispatcher/appc-dispatcher-common/domain-model-lib/src/test/java/org/onap/appc/domainmodel/lcm/TestRequestContext.java16
1 files changed, 16 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 6e54ae187..b825a22b9 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
@@ -82,5 +82,21 @@ public class TestRequestContext {
public void testToString_ContainsString() {
assertTrue(requestContext.toString().contains("RequestContext{commonHeader"));
}
+
+ @Test
+ public void testGetSetCommonHeader()
+ {
+ CommonHeader commonHeader = new CommonHeader();
+ requestContext.setCommonHeader(commonHeader);
+ assertEquals(commonHeader, requestContext.getCommonHeader());
+ }
+
+ @Test
+ public void testGetSetActionIdentifiers()
+ {
+ ActionIdentifiers actionIdentifiers= new ActionIdentifiers();
+ requestContext.setActionIdentifiers(actionIdentifiers);
+ assertEquals(actionIdentifiers, requestContext.getActionIdentifiers());
+ }
}