From 0896031421440be9d7b5d3d8e7b15dc2215ab115 Mon Sep 17 00:00:00 2001 From: ezhil Date: Wed, 13 May 2020 19:49:13 +0530 Subject: Junit testcase for DeleteOpertaionRsp Issue-ID: USECASEUI-439 Change-Id: If38b46396088fdd9c3a4a11b13bbc7b0dfc6ad91 Signed-off-by: ezhil --- .../server/service/lcm/domain/so/bean/DeleteOperationRspTest.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/so/bean/DeleteOperationRspTest.java b/server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/so/bean/DeleteOperationRspTest.java index eb8b112c..a29a0f5b 100644 --- a/server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/so/bean/DeleteOperationRspTest.java +++ b/server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/so/bean/DeleteOperationRspTest.java @@ -40,6 +40,8 @@ import org.hibernate.Transaction; import mockit.Mock; import mockit.MockUp; +import static org.junit.Assert.assertEquals; + public class DeleteOperationRspTest { @Before @@ -53,7 +55,7 @@ public class DeleteOperationRspTest { @Test public void testDeleteOperationRsp() throws Exception { DeleteOperationRsp dor = new DeleteOperationRsp(); - dor.setOperationId(""); - dor.getOperationId(); + dor.setOperationId("test"); + assertEquals("test", dor.getOperationId()); } } -- cgit 1.2.3-korg