summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/openecomp/vid/aai/model/RelatedToPropertyTest.java
diff options
context:
space:
mode:
authorOfir Sonsino <os0695@att.com>2017-10-09 13:25:29 +0300
committerOfir Sonsino <os0695@att.com>2017-10-09 13:25:29 +0300
commit61091bdc1ea5736de68acabd84095ba6932d7b8b (patch)
tree6c92b68b684e60c4e72c0269debed1050bce59c6 /vid-app-common/src/test/java/org/openecomp/vid/aai/model/RelatedToPropertyTest.java
parent78028f3b588241200e31b71b8190e9926af626e9 (diff)
Improve SONAR coverage
Change-Id: Icdae04aadd50e29a55db559a69495a688ea34b0e Issue-ID: VID-72 Signed-off-by: Ofir Sonsino <os0695@att.com>
Diffstat (limited to 'vid-app-common/src/test/java/org/openecomp/vid/aai/model/RelatedToPropertyTest.java')
-rw-r--r--vid-app-common/src/test/java/org/openecomp/vid/aai/model/RelatedToPropertyTest.java55
1 files changed, 55 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/openecomp/vid/aai/model/RelatedToPropertyTest.java b/vid-app-common/src/test/java/org/openecomp/vid/aai/model/RelatedToPropertyTest.java
new file mode 100644
index 000000000..08a87173b
--- /dev/null
+++ b/vid-app-common/src/test/java/org/openecomp/vid/aai/model/RelatedToPropertyTest.java
@@ -0,0 +1,55 @@
+package org.openecomp.vid.aai.model;
+
+import org.junit.Test;
+
+
+public class RelatedToPropertyTest {
+
+ private RelatedToProperty createTestSubject() {
+ return new RelatedToProperty();
+ }
+
+
+ @Test
+ public void testGetPropertyKey() throws Exception {
+ RelatedToProperty testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPropertyKey();
+ }
+
+
+ @Test
+ public void testSetPropertyKey() throws Exception {
+ RelatedToProperty testSubject;
+ String propertyKey = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPropertyKey(propertyKey);
+ }
+
+
+ @Test
+ public void testGetPropertyValue() throws Exception {
+ RelatedToProperty testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPropertyValue();
+ }
+
+
+ @Test
+ public void testSetPropertyValue() throws Exception {
+ RelatedToProperty testSubject;
+ String propertyValue = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPropertyValue(propertyValue);
+ }
+} \ No newline at end of file