Added oparent to sdc main
[sdc.git] / common-be / src / test / java / org / openecomp / sdc / be / datatypes / elements / CapabilityTypeDataDefinitionTest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
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 package org.openecomp.sdc.be.datatypes.elements;
22
23 import org.junit.Test;
24
25 import java.util.List;
26
27 public class CapabilityTypeDataDefinitionTest {
28
29         private CapabilityTypeDataDefinition createTestSubject() {
30                 return new CapabilityTypeDataDefinition();
31         }
32         
33         @Test
34         public void testCopyConstructor() throws Exception {
35                 CapabilityTypeDataDefinition testSubject;
36                 String result;
37
38                 // default test
39                 testSubject = createTestSubject();
40                 new CapabilityTypeDataDefinition(testSubject);
41         }
42         
43         @Test
44         public void testGetUniqueId() throws Exception {
45                 CapabilityTypeDataDefinition testSubject;
46                 String result;
47
48                 // default test
49                 testSubject = createTestSubject();
50                 result = testSubject.getUniqueId();
51         }
52
53         @Test
54         public void testSetUniqueId() throws Exception {
55                 CapabilityTypeDataDefinition testSubject;
56                 String uniqueId = "";
57
58                 // default test
59                 testSubject = createTestSubject();
60                 testSubject.setUniqueId(uniqueId);
61         }
62
63         @Test
64         public void testGetDescription() throws Exception {
65                 CapabilityTypeDataDefinition testSubject;
66                 String result;
67
68                 // default test
69                 testSubject = createTestSubject();
70                 result = testSubject.getDescription();
71         }
72
73         @Test
74         public void testSetDescription() throws Exception {
75                 CapabilityTypeDataDefinition testSubject;
76                 String description = "";
77
78                 // default test
79                 testSubject = createTestSubject();
80                 testSubject.setDescription(description);
81         }
82
83         @Test
84         public void testGetType() throws Exception {
85                 CapabilityTypeDataDefinition testSubject;
86                 String result;
87
88                 // default test
89                 testSubject = createTestSubject();
90                 result = testSubject.getType();
91         }
92
93         @Test
94         public void testSetType() throws Exception {
95                 CapabilityTypeDataDefinition testSubject;
96                 String type = "";
97
98                 // default test
99                 testSubject = createTestSubject();
100                 testSubject.setType(type);
101         }
102
103         @Test
104         public void testGetValidSourceTypes() throws Exception {
105                 CapabilityTypeDataDefinition testSubject;
106                 List<String> result;
107
108                 // default test
109                 testSubject = createTestSubject();
110                 result = testSubject.getValidSourceTypes();
111         }
112
113         @Test
114         public void testSetValidSourceTypes() throws Exception {
115                 CapabilityTypeDataDefinition testSubject;
116                 List<String> validSourceTypes = null;
117
118                 // default test
119                 testSubject = createTestSubject();
120                 testSubject.setValidSourceTypes(validSourceTypes);
121         }
122
123         @Test
124         public void testGetVersion() throws Exception {
125                 CapabilityTypeDataDefinition testSubject;
126                 String result;
127
128                 // default test
129                 testSubject = createTestSubject();
130                 result = testSubject.getVersion();
131         }
132
133         @Test
134         public void testSetVersion() throws Exception {
135                 CapabilityTypeDataDefinition testSubject;
136                 String version = "";
137
138                 // default test
139                 testSubject = createTestSubject();
140                 testSubject.setVersion(version);
141         }
142
143         @Test
144         public void testGetCreationTime() throws Exception {
145                 CapabilityTypeDataDefinition testSubject;
146                 Long result;
147
148                 // default test
149                 testSubject = createTestSubject();
150                 result = testSubject.getCreationTime();
151         }
152
153         @Test
154         public void testSetCreationTime() throws Exception {
155                 CapabilityTypeDataDefinition testSubject;
156                 Long creationTime = null;
157
158                 // default test
159                 testSubject = createTestSubject();
160                 testSubject.setCreationTime(creationTime);
161         }
162
163         @Test
164         public void testGetModificationTime() throws Exception {
165                 CapabilityTypeDataDefinition testSubject;
166                 Long result;
167
168                 // default test
169                 testSubject = createTestSubject();
170                 result = testSubject.getModificationTime();
171         }
172
173         @Test
174         public void testSetModificationTime() throws Exception {
175                 CapabilityTypeDataDefinition testSubject;
176                 Long modificationTime = null;
177
178                 // default test
179                 testSubject = createTestSubject();
180                 testSubject.setModificationTime(modificationTime);
181         }
182
183         @Test
184         public void testToString() throws Exception {
185                 CapabilityTypeDataDefinition testSubject;
186                 String result;
187
188                 // default test
189                 testSubject = createTestSubject();
190                 result = testSubject.toString();
191         }
192 }