From 510d4a52bee97ff3e02a62514030953386308d2f Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Tue, 31 Jul 2018 16:10:11 +0530 Subject: added test case to TestTransactionRecord.java to increase code coverage Issue-ID: APPC-1086 Change-Id: I35d44cf74166edd126b918b0624a99ebc0396b07 Signed-off-by: Sandeep J --- .../java/org/onap/appc/domainmodel/lcm/TestTransactionRecord.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'appc-dispatcher/appc-dispatcher-common') 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()); + } + } -- cgit 1.2.3-korg