diff options
author | Sonsino, Ofir (os0695) <os0695@intl.att.com> | 2018-03-13 18:31:21 +0200 |
---|---|---|
committer | Sonsino, Ofir (os0695) <os0695@intl.att.com> | 2018-03-13 18:31:21 +0200 |
commit | d5ec7bf55217508e2b5cebe640d586598379f97a (patch) | |
tree | 4bbe052d2eb67c11c5fbc22998c95e55e7aef4d0 /vid-app-common/src/test/java/org/onap/vid/aai/model/LogicalLinkResponseTest.java | |
parent | 80098ffa01c5a0f4dd5b99f41c31d51e9dc25762 (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/LogicalLinkResponseTest.java')
-rw-r--r-- | vid-app-common/src/test/java/org/onap/vid/aai/model/LogicalLinkResponseTest.java | 130 |
1 files changed, 130 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/aai/model/LogicalLinkResponseTest.java b/vid-app-common/src/test/java/org/onap/vid/aai/model/LogicalLinkResponseTest.java new file mode 100644 index 00000000..99ee5958 --- /dev/null +++ b/vid-app-common/src/test/java/org/onap/vid/aai/model/LogicalLinkResponseTest.java @@ -0,0 +1,130 @@ +package org.onap.vid.aai.model; + +import org.junit.Test; + +public class LogicalLinkResponseTest { + + private LogicalLinkResponse createTestSubject() { + return new LogicalLinkResponse(); + } + + @Test + public void testGetLinkName() throws Exception { + LogicalLinkResponse testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getLinkName(); + } + + @Test + public void testSetLinkName() throws Exception { + LogicalLinkResponse testSubject; + String linkName = ""; + + // default test + testSubject = createTestSubject(); + testSubject.setLinkName(linkName); + } + + @Test + public void testGetInMaint() throws Exception { + LogicalLinkResponse testSubject; + Boolean result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getInMaint(); + } + + @Test + public void testSetInMaint() throws Exception { + LogicalLinkResponse testSubject; + Boolean inMaint = null; + + // default test + testSubject = createTestSubject(); + testSubject.setInMaint(inMaint); + } + + @Test + public void testGetLinkType() throws Exception { + LogicalLinkResponse testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getLinkType(); + } + + @Test + public void testSetLinkType() throws Exception { + LogicalLinkResponse testSubject; + String linkType = ""; + + // default test + testSubject = createTestSubject(); + testSubject.setLinkType(linkType); + } + + @Test + public void testGetResourceVersion() throws Exception { + LogicalLinkResponse testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getResourceVersion(); + } + + @Test + public void testSetResourceVersion() throws Exception { + LogicalLinkResponse testSubject; + String resourceVersion = ""; + + // default test + testSubject = createTestSubject(); + testSubject.setResourceVersion(resourceVersion); + } + + @Test + public void testGetPurpose() throws Exception { + LogicalLinkResponse testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getPurpose(); + } + + @Test + public void testSetPurpose() throws Exception { + LogicalLinkResponse testSubject; + String purpose = ""; + + // default test + testSubject = createTestSubject(); + testSubject.setPurpose(purpose); + } + + @Test + public void testGetRelationshipList() throws Exception { + LogicalLinkResponse testSubject; + RelationshipList result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getRelationshipList(); + } + + @Test + public void testSetRelationshipList() throws Exception { + LogicalLinkResponse testSubject; + RelationshipList relationshipList = null; + + // default test + testSubject = createTestSubject(); + testSubject.setRelationshipList(relationshipList); + } +}
\ No newline at end of file |