aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-07-31 16:10:11 +0530
committerTakamune Cho <tc012c@att.com>2018-07-31 15:35:55 +0000
commit510d4a52bee97ff3e02a62514030953386308d2f (patch)
tree51a0f74dcedd6339ccd044a7a519bf62441f8744
parentbfbb6d5ab8b95b1c6790ea5a25c698cdbbc135e0 (diff)
added test case to TestTransactionRecord.java
to increase code coverage Issue-ID: APPC-1086 Change-Id: I35d44cf74166edd126b918b0624a99ebc0396b07 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/TestTransactionRecord.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/appc-dispatcher/appc-dispatcher-common/domain-model-lib/src/test/java/org/onap/appc/domainmodel/lcm/TestTransactionRecord.java b/appc-dispatcher/appc-dispatcher-common/domain-model-lib/src/test/java/org/onap/appc/domainmodel/lcm/TestTransactionRecord.java
index ff238f853..bd59bb331 100644
--- a/appc-dispatcher/appc-dispatcher-common/domain-model-lib/src/test/java/org/onap/appc/domainmodel/lcm/TestTransactionRecord.java
+++ b/appc-dispatcher/appc-dispatcher-common/domain-model-lib/src/test/java/org/onap/appc/domainmodel/lcm/TestTransactionRecord.java
@@ -168,4 +168,11 @@ public class TestTransactionRecord {
assertEquals("EXCLUSIVE", transactionRecord.getMode());
}
+ @Test
+ public void testGetRequestState() {
+ RequestStatus requestStatus= RequestStatus.ACCEPTED;
+ transactionRecord.setRequestState(requestStatus);
+ assertEquals("ACCEPTED", transactionRecord.getRequestState());
+ }
+
}