aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxu ran <xuranyjy@chinamobile.com>2020-05-06 03:22:31 +0000
committerGerrit Code Review <gerrit@onap.org>2020-05-06 03:22:31 +0000
commit3e623e24a75348c5f5000b22a274106b71800475 (patch)
tree11b9f6c884ca812393b49c746bfdef5f7f8b1b56
parent530fb0b76e88389f012af16af46ad82cb2a132f4 (diff)
parent7b5014007c8d60d37944e992c3857daa70718163 (diff)
Merge "Added testcase for RelationshipData"
-rw-r--r--server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/RelationshipDataTest.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/RelationshipDataTest.java b/server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/RelationshipDataTest.java
index 77b69dac..5e0923b7 100644
--- a/server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/RelationshipDataTest.java
+++ b/server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/RelationshipDataTest.java
@@ -16,6 +16,7 @@ package org.onap.usecaseui.server.service.lcm.domain.aai.bean;
*/
import org.junit.After;
+import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
@@ -29,13 +30,16 @@ public class RelationshipDataTest {
public void after() throws Exception {
}
+ @Test
public void relationshipdatatest() throws Exception
{
RelationshipData relationshipData = new RelationshipData();
- relationshipData.getRelationshipKey();
- relationshipData.getRelationshipValue();
relationshipData.setRelationshipKey("123");
relationshipData.setRelationshipValue("123");
+
+ Assert.assertEquals(relationshipData.getRelationshipKey(),"123");
+ Assert.assertEquals(relationshipData.getRelationshipValue(),"123");
+
}
}