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