diff options
author | ezhil <ezhrajam@in.ibm.com> | 2020-05-13 19:49:13 +0530 |
---|---|---|
committer | ezhil <ezhrajam@in.ibm.com> | 2020-05-13 19:49:21 +0530 |
commit | 0896031421440be9d7b5d3d8e7b15dc2215ab115 (patch) | |
tree | 6f5f1fbd1d5761f6be477ebc5745580d569dce0c | |
parent | 6226caf98a481b7a4e51ba066b96ed81b96dd071 (diff) |
Junit testcase for DeleteOpertaionRsp
Issue-ID: USECASEUI-439
Change-Id: If38b46396088fdd9c3a4a11b13bbc7b0dfc6ad91
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
-rw-r--r-- | server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/so/bean/DeleteOperationRspTest.java | 6 |
1 files 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()); } } |