Added oparent to sdc main
[sdc.git] / catalog-dao / src / test / java / org / openecomp / sdc / be / resources / data / InputValueDataTest.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.resources.data;
22
23 import org.junit.Test;
24
25 import java.util.HashMap;
26 import java.util.Map;
27
28
29 public class InputValueDataTest {
30
31         private InputValueData createTestSubject() {
32                 return new InputValueData();
33         }
34
35         @Test
36         public void testCtor() throws Exception {
37                 new InputValueData(new HashMap<>());
38         }
39         
40         @Test
41         public void testGetUniqueId() throws Exception {
42                 InputValueData testSubject;
43                 String result;
44
45                 // default test
46                 testSubject = createTestSubject();
47                 result = testSubject.getUniqueId();
48         }
49
50         
51         @Test
52         public void testSetUniqueId() throws Exception {
53                 InputValueData testSubject;
54                 String uniqueId = "";
55
56                 // default test
57                 testSubject = createTestSubject();
58                 testSubject.setUniqueId(uniqueId);
59         }
60
61         
62         @Test
63         public void testGetCreationTime() throws Exception {
64                 InputValueData testSubject;
65                 Long result;
66
67                 // default test
68                 testSubject = createTestSubject();
69                 result = testSubject.getCreationTime();
70         }
71
72         
73         @Test
74         public void testSetCreationTime() throws Exception {
75                 InputValueData testSubject;
76                 Long creationTime = null;
77
78                 // default test
79                 testSubject = createTestSubject();
80                 testSubject.setCreationTime(creationTime);
81         }
82
83         
84         @Test
85         public void testGetModificationTime() throws Exception {
86                 InputValueData testSubject;
87                 Long result;
88
89                 // default test
90                 testSubject = createTestSubject();
91                 result = testSubject.getModificationTime();
92         }
93
94         
95         @Test
96         public void testSetModificationTime() throws Exception {
97                 InputValueData testSubject;
98                 Long modificationTime = null;
99
100                 // default test
101                 testSubject = createTestSubject();
102                 testSubject.setModificationTime(modificationTime);
103         }
104
105         
106         @Test
107         public void testToGraphMap() throws Exception {
108                 InputValueData testSubject;
109                 Map<String, Object> result;
110
111                 // default test
112                 testSubject = createTestSubject();
113                 result = testSubject.toGraphMap();
114         }
115
116         
117         @Test
118         public void testToString() throws Exception {
119                 InputValueData testSubject;
120                 String result;
121
122                 // default test
123                 testSubject = createTestSubject();
124                 result = testSubject.toString();
125         }
126
127         
128         @Test
129         public void testIsHidden() throws Exception {
130                 InputValueData testSubject;
131                 Boolean result;
132
133                 // default test
134                 testSubject = createTestSubject();
135                 result = testSubject.isHidden();
136         }
137
138         
139         @Test
140         public void testSetHidden() throws Exception {
141                 InputValueData testSubject;
142                 Boolean hidden = null;
143
144                 // default test
145                 testSubject = createTestSubject();
146                 testSubject.setHidden(hidden);
147         }
148
149         
150         @Test
151         public void testGetType() throws Exception {
152                 InputValueData testSubject;
153                 String result;
154
155                 // default test
156                 testSubject = createTestSubject();
157                 result = testSubject.getType();
158         }
159
160         
161         @Test
162         public void testSetType() throws Exception {
163                 InputValueData testSubject;
164                 String type = "";
165
166                 // default test
167                 testSubject = createTestSubject();
168                 testSubject.setType(type);
169         }
170
171         
172         @Test
173         public void testGetValue() throws Exception {
174                 InputValueData testSubject;
175                 String result;
176
177                 // default test
178                 testSubject = createTestSubject();
179                 result = testSubject.getValue();
180         }
181
182         
183         @Test
184         public void testSetValue() throws Exception {
185                 InputValueData testSubject;
186                 String value = "";
187
188                 // default test
189                 testSubject = createTestSubject();
190                 testSubject.setValue(value);
191         }
192 }