blob: bfb3e4b694e1fff7235f23e7006ebc7e99324886 [file] [log] [blame]
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +03001/*-
2 * ============LICENSE_START=======================================================
3 * OSAM
4 * ================================================================================
5 * Copyright (C) 2018 AT&T
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
19 */
20
21
22
23package org.onap.osam.model;
24
25import org.junit.Test;
26
27public class ServiceInstanceSearchResultTest {
28
29 private ServiceInstanceSearchResult createTestSubject() {
30 return new ServiceInstanceSearchResult();
31 }
32
33 @Test
34 public void testGetServiceInstanceId() throws Exception {
35 ServiceInstanceSearchResult testSubject;
36 String result;
37
38 // default test
39 testSubject = createTestSubject();
40 result = testSubject.getServiceInstanceId();
41 }
42
43 @Test
44 public void testSetServiceInstanceId() throws Exception {
45 ServiceInstanceSearchResult testSubject;
46 String serviceInstanceId = "";
47
48 // default test
49 testSubject = createTestSubject();
50 testSubject.setServiceInstanceId(serviceInstanceId);
51 }
52
53 @Test
54 public void testGetGlobalCustomerId() throws Exception {
55 ServiceInstanceSearchResult testSubject;
56 String result;
57
58 // default test
59 testSubject = createTestSubject();
60 result = testSubject.getGlobalCustomerId();
61 }
62
63 @Test
64 public void testSetGlobalCustomerId() throws Exception {
65 ServiceInstanceSearchResult testSubject;
66 String globalCustomerId = "";
67
68 // default test
69 testSubject = createTestSubject();
70 testSubject.setGlobalCustomerId(globalCustomerId);
71 }
72
73 @Test
74 public void testGetServiceType() throws Exception {
75 ServiceInstanceSearchResult testSubject;
76 String result;
77
78 // default test
79 testSubject = createTestSubject();
80 result = testSubject.getServiceType();
81 }
82
83 @Test
84 public void testSetServiceType() throws Exception {
85 ServiceInstanceSearchResult testSubject;
86 String serviceType = "";
87
88 // default test
89 testSubject = createTestSubject();
90 testSubject.setServiceType(serviceType);
91 }
92
93 @Test
94 public void testGetServiceInstanceName() throws Exception {
95 ServiceInstanceSearchResult testSubject;
96 String result;
97
98 // default test
99 testSubject = createTestSubject();
100 result = testSubject.getServiceInstanceName();
101 }
102
103 @Test
104 public void testSetServiceInstanceName() throws Exception {
105 ServiceInstanceSearchResult testSubject;
106 String serviceInstanceName = "";
107
108 // default test
109 testSubject = createTestSubject();
110 testSubject.setServiceInstanceName(serviceInstanceName);
111 }
112
113 @Test
114 public void testGetSubscriberName() throws Exception {
115 ServiceInstanceSearchResult testSubject;
116 String result;
117
118 // default test
119 testSubject = createTestSubject();
120 result = testSubject.getSubscriberName();
121 }
122
123 @Test
124 public void testSetSubscriberName() throws Exception {
125 ServiceInstanceSearchResult testSubject;
126 String subscriberName = "";
127
128 // default test
129 testSubject = createTestSubject();
130 testSubject.setSubscriberName(subscriberName);
131 }
132
133 @Test
134 public void testGetAaiModelInvariantId() throws Exception {
135 ServiceInstanceSearchResult testSubject;
136 String result;
137
138 // default test
139 testSubject = createTestSubject();
140 result = testSubject.getAaiModelInvariantId();
141 }
142
143 @Test
144 public void testSetAaiModelInvariantId() throws Exception {
145 ServiceInstanceSearchResult testSubject;
146 String aaiModelInvariantId = "";
147
148 // default test
149 testSubject = createTestSubject();
150 testSubject.setAaiModelInvariantId(aaiModelInvariantId);
151 }
152
153 @Test
154 public void testGetAaiModelVersionId() throws Exception {
155 ServiceInstanceSearchResult testSubject;
156 String result;
157
158 // default test
159 testSubject = createTestSubject();
160 result = testSubject.getAaiModelVersionId();
161 }
162
163 @Test
164 public void testSetAaiModelVersionId() throws Exception {
165 ServiceInstanceSearchResult testSubject;
166 String aaiModelVersionId = "";
167
168 // default test
169 testSubject = createTestSubject();
170 testSubject.setAaiModelVersionId(aaiModelVersionId);
171 }
172
173 @Test
174 public void testGetIsPermitted() throws Exception {
175 ServiceInstanceSearchResult testSubject;
176 boolean result;
177
178 // default test
179 testSubject = createTestSubject();
180 result = testSubject.getIsPermitted();
181 }
182
183 @Test
184 public void testSetIsPermitted() throws Exception {
185 ServiceInstanceSearchResult testSubject;
186 boolean isPermitted = false;
187
188 // default test
189 testSubject = createTestSubject();
190 testSubject.setIsPermitted(isPermitted);
191 }
192
193 @Test
194 public void testEquals() throws Exception {
195 ServiceInstanceSearchResult testSubject;
196 Object other = null;
197 boolean result;
198
199 // default test
200 testSubject = createTestSubject();
201 result = testSubject.equals(other);
202 }
203
204}