From d5ec7bf55217508e2b5cebe640d586598379f97a Mon Sep 17 00:00:00 2001 From: "Sonsino, Ofir (os0695)" Date: Tue, 13 Mar 2018 18:31:21 +0200 Subject: Unit tests Change-Id: Ib9f73b7ba5a509610896b8bbdc02c180e60ee959 Issue-ID: VID-197 Signed-off-by: Sonsino, Ofir (os0695) --- .../org/onap/vid/aai/model/PnfPropertiesTest.java | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 vid-app-common/src/test/java/org/onap/vid/aai/model/PnfPropertiesTest.java (limited to 'vid-app-common/src/test/java/org/onap/vid/aai/model/PnfPropertiesTest.java') 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 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 -- cgit 1.2.3-korg