summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2019-04-01 13:25:58 +0530
committerTakamune Cho <takamune.cho@att.com>2019-04-01 18:27:21 +0000
commitbcbde504edaef9386a222719e0dc7d57ec1ef7d6 (patch)
tree9f99309da01c57e2e583d0d2e354e1e7f1bc0a3c
parentc1210e019467a0fd417f05f32150324682f64bc7 (diff)
added test case to RequestModelTest.java
to increase code coverage Issue-ID: APPC-1086 Change-Id: I56c2e94a888f0f01f0bed36fbc966dce0cb69b84 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
-rw-r--r--appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/onap/appc/requesthandler/model/RequestModelTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/onap/appc/requesthandler/model/RequestModelTest.java b/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/onap/appc/requesthandler/model/RequestModelTest.java
index 24fb5a28b..7aa2fd88b 100644
--- a/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/onap/appc/requesthandler/model/RequestModelTest.java
+++ b/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/onap/appc/requesthandler/model/RequestModelTest.java
@@ -47,5 +47,11 @@ public class RequestModelTest {
requestModel.setActionIdentifier(actionIdentifier);
assertEquals(actionIdentifier, requestModel.getActionIdentifier());
}
+
+ @Test
+ public void testTargetId() {
+ requestModel.setTargetId("TargetId");
+ assertEquals("TargetId", requestModel.getTargetId());
+ }
}