diff options
author | xu ran <xuranyjy@chinamobile.com> | 2020-05-14 03:11:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-05-14 03:11:02 +0000 |
commit | c583d6f8c6d7909ec08250a63dd797292b201889 (patch) | |
tree | 0bac71251b10bfa6e3088082254b45e3999d800c | |
parent | 91a4c9b9903b861739a5df5438b96206c0507344 (diff) | |
parent | 0896031421440be9d7b5d3d8e7b15dc2215ab115 (diff) |
Merge "Junit testcase for DeleteOpertaionRsp"
-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()); } } |