Added oparent to sdc main
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / tosca / model / ToscaTopolgyTemplateTest.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.tosca.model;
22
23 import java.util.Map;
24
25 import org.junit.Test;
26
27
28 public class ToscaTopolgyTemplateTest {
29
30         private ToscaTopolgyTemplate createTestSubject() {
31                 return new ToscaTopolgyTemplate();
32         }
33
34         
35         @Test
36         public void testGetNode_templates() throws Exception {
37                 ToscaTopolgyTemplate testSubject;
38                 Map<String, ToscaNodeTemplate> result;
39
40                 // default test
41                 testSubject = createTestSubject();
42                 result = testSubject.getNode_templates();
43         }
44
45         
46         @Test
47         public void testSetNode_templates() throws Exception {
48                 ToscaTopolgyTemplate testSubject;
49                 Map<String, ToscaNodeTemplate> node_templates = null;
50
51                 // default test
52                 testSubject = createTestSubject();
53                 testSubject.setNode_templates(node_templates);
54         }
55
56         
57         @Test
58         public void testGetGroups() throws Exception {
59                 ToscaTopolgyTemplate testSubject;
60                 Map<String, ToscaGroupTemplate> result;
61
62                 // default test
63                 testSubject = createTestSubject();
64                 result = testSubject.getGroups();
65         }
66
67
68
69         
70         @Test
71         public void testGetSubstitution_mappings() throws Exception {
72                 ToscaTopolgyTemplate testSubject;
73                 SubstitutionMapping result;
74
75                 // default test
76                 testSubject = createTestSubject();
77                 result = testSubject.getSubstitution_mappings();
78         }
79
80         
81         @Test
82         public void testSetSubstitution_mappings() throws Exception {
83                 ToscaTopolgyTemplate testSubject;
84                 SubstitutionMapping substitution_mapping = null;
85
86                 // default test
87                 testSubject = createTestSubject();
88                 testSubject.setSubstitution_mappings(substitution_mapping);
89         }
90
91         
92         @Test
93         public void testGetInputs() throws Exception {
94                 ToscaTopolgyTemplate testSubject;
95                 Map<String, ToscaProperty> result;
96
97                 // default test
98                 testSubject = createTestSubject();
99                 result = testSubject.getInputs();
100         }
101
102         
103         @Test
104         public void testSetInputs() throws Exception {
105                 ToscaTopolgyTemplate testSubject;
106                 Map<String, ToscaProperty> inputs = null;
107
108                 // default test
109                 testSubject = createTestSubject();
110                 testSubject.setInputs(inputs);
111         }
112 }