aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorezhil <ezhrajam@in.ibm.com>2020-04-30 20:33:35 +0530
committerezhil <ezhrajam@in.ibm.com>2020-04-30 20:33:41 +0530
commit7b5014007c8d60d37944e992c3857daa70718163 (patch)
treec629c2fc4dde0660c20feeb50ea534c55d387cc6
parentc2f7d24209a7f9b27b2fdd870539529046ae5c24 (diff)
Added testcase for RelationshipData
Issue-ID: USECASEUI-439 Change-Id: I4d045ae9daf9cefcd88434bbfa1779fa23378f7e Signed-off-by: ezhil <ezhrajam@in.ibm.com>
-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");
+
}
}