1 package org.onap.vid.aai.model;
5 public class LogicalLinkResponseTest {
7 private LogicalLinkResponse createTestSubject() {
8 return new LogicalLinkResponse();
12 public void testGetLinkName() throws Exception {
13 LogicalLinkResponse testSubject;
17 testSubject = createTestSubject();
18 result = testSubject.getLinkName();
22 public void testSetLinkName() throws Exception {
23 LogicalLinkResponse testSubject;
27 testSubject = createTestSubject();
28 testSubject.setLinkName(linkName);
32 public void testGetInMaint() throws Exception {
33 LogicalLinkResponse testSubject;
37 testSubject = createTestSubject();
38 result = testSubject.getInMaint();
42 public void testSetInMaint() throws Exception {
43 LogicalLinkResponse testSubject;
44 Boolean inMaint = null;
47 testSubject = createTestSubject();
48 testSubject.setInMaint(inMaint);
52 public void testGetLinkType() throws Exception {
53 LogicalLinkResponse testSubject;
57 testSubject = createTestSubject();
58 result = testSubject.getLinkType();
62 public void testSetLinkType() throws Exception {
63 LogicalLinkResponse testSubject;
67 testSubject = createTestSubject();
68 testSubject.setLinkType(linkType);
72 public void testGetResourceVersion() throws Exception {
73 LogicalLinkResponse testSubject;
77 testSubject = createTestSubject();
78 result = testSubject.getResourceVersion();
82 public void testSetResourceVersion() throws Exception {
83 LogicalLinkResponse testSubject;
84 String resourceVersion = "";
87 testSubject = createTestSubject();
88 testSubject.setResourceVersion(resourceVersion);
92 public void testGetPurpose() throws Exception {
93 LogicalLinkResponse testSubject;
97 testSubject = createTestSubject();
98 result = testSubject.getPurpose();
102 public void testSetPurpose() throws Exception {
103 LogicalLinkResponse testSubject;
107 testSubject = createTestSubject();
108 testSubject.setPurpose(purpose);
112 public void testGetRelationshipList() throws Exception {
113 LogicalLinkResponse testSubject;
114 RelationshipList result;
117 testSubject = createTestSubject();
118 result = testSubject.getRelationshipList();
122 public void testSetRelationshipList() throws Exception {
123 LogicalLinkResponse testSubject;
124 RelationshipList relationshipList = null;
127 testSubject = createTestSubject();
128 testSubject.setRelationshipList(relationshipList);