diff options
Diffstat (limited to 'vid-app-common/src/test/java/org/onap/vid/aai/ServicePropertiesTest.java')
-rw-r--r-- | vid-app-common/src/test/java/org/onap/vid/aai/ServicePropertiesTest.java | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/aai/ServicePropertiesTest.java b/vid-app-common/src/test/java/org/onap/vid/aai/ServicePropertiesTest.java new file mode 100644 index 000000000..577f52820 --- /dev/null +++ b/vid-app-common/src/test/java/org/onap/vid/aai/ServicePropertiesTest.java @@ -0,0 +1,34 @@ +package org.onap.vid.aai; + +import java.util.Map; + +import org.junit.Test; +import org.onap.vid.aai.model.ServiceProperties; + +public class ServicePropertiesTest { + + private ServiceProperties createTestSubject() { + return new ServiceProperties(); + } + + @Test + public void testGetAdditionalProperties() throws Exception { + ServiceProperties testSubject; + Map<String, Object> result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getAdditionalProperties(); + } + + @Test + public void testSetAdditionalProperty() throws Exception { + ServiceProperties testSubject; + String name = ""; + Object value = null; + + // default test + testSubject = createTestSubject(); + testSubject.setAdditionalProperty(name, value); + } +}
\ No newline at end of file |