aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/aai/model/PnfPropertiesTest.java
diff options
context:
space:
mode:
authorSonsino, Ofir (os0695) <os0695@intl.att.com>2018-03-13 18:31:21 +0200
committerSonsino, Ofir (os0695) <os0695@intl.att.com>2018-03-13 18:31:21 +0200
commitd5ec7bf55217508e2b5cebe640d586598379f97a (patch)
tree4bbe052d2eb67c11c5fbc22998c95e55e7aef4d0 /vid-app-common/src/test/java/org/onap/vid/aai/model/PnfPropertiesTest.java
parent80098ffa01c5a0f4dd5b99f41c31d51e9dc25762 (diff)
Unit tests
Change-Id: Ib9f73b7ba5a509610896b8bbdc02c180e60ee959 Issue-ID: VID-197 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
Diffstat (limited to 'vid-app-common/src/test/java/org/onap/vid/aai/model/PnfPropertiesTest.java')
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/aai/model/PnfPropertiesTest.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/aai/model/PnfPropertiesTest.java b/vid-app-common/src/test/java/org/onap/vid/aai/model/PnfPropertiesTest.java
new file mode 100644
index 000000000..46709af92
--- /dev/null
+++ b/vid-app-common/src/test/java/org/onap/vid/aai/model/PnfPropertiesTest.java
@@ -0,0 +1,33 @@
+package org.onap.vid.aai.model;
+
+import java.util.Map;
+
+import org.junit.Test;
+
+public class PnfPropertiesTest {
+
+ private PnfProperties createTestSubject() {
+ return new PnfProperties();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ PnfProperties testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ PnfProperties testSubject;
+ String name = "";
+ Object value = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+} \ No newline at end of file