diff options
author | 2018-03-14 12:04:50 +0200 | |
---|---|---|
committer | 2018-03-14 12:04:50 +0200 | |
commit | c9d63f49af5455f503ca63395121b7cd4d8c8c88 (patch) | |
tree | 827ed548a95e05b99f35c494d6c6c654840ee90b /vid-app-common/src/test/java/org/onap/vid/changeManagement/ChangeManagementRequestTest.java | |
parent | d5ec7bf55217508e2b5cebe640d586598379f97a (diff) |
Unit tests
Change-Id: I9c63fd607757bbec095c26341af593d9afd73886
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/changeManagement/ChangeManagementRequestTest.java')
-rw-r--r-- | vid-app-common/src/test/java/org/onap/vid/changeManagement/ChangeManagementRequestTest.java | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/changeManagement/ChangeManagementRequestTest.java b/vid-app-common/src/test/java/org/onap/vid/changeManagement/ChangeManagementRequestTest.java new file mode 100644 index 00000000..fda4d65b --- /dev/null +++ b/vid-app-common/src/test/java/org/onap/vid/changeManagement/ChangeManagementRequestTest.java @@ -0,0 +1,74 @@ +package org.onap.vid.changeManagement; + +import java.util.List; +import java.util.Map; + +import org.junit.Test; + +public class ChangeManagementRequestTest { + + private ChangeManagementRequest createTestSubject() { + return new ChangeManagementRequest(); + } + + @Test + public void testGetRequestDetails() throws Exception { + ChangeManagementRequest testSubject; + List<RequestDetails> result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getRequestDetails(); + } + + @Test + public void testSetRequestDetails() throws Exception { + ChangeManagementRequest testSubject; + List<RequestDetails> requestDetails = null; + + // default test + testSubject = createTestSubject(); + testSubject.setRequestDetails(requestDetails); + } + + @Test + public void testGetRequestType() throws Exception { + ChangeManagementRequest testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getRequestType(); + } + + @Test + public void testSetRequestType() throws Exception { + ChangeManagementRequest testSubject; + String requestType = ""; + + // default test + testSubject = createTestSubject(); + testSubject.setRequestType(requestType); + } + + @Test + public void testGetAdditionalProperties() throws Exception { + ChangeManagementRequest testSubject; + Map<String, Object> result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getAdditionalProperties(); + } + + @Test + public void testSetAdditionalProperty() throws Exception { + ChangeManagementRequest testSubject; + String name = ""; + Object value = null; + + // default test + testSubject = createTestSubject(); + testSubject.setAdditionalProperty(name, value); + } +}
\ No newline at end of file |