1 package org.openecomp.sdc.be.tosca.model;
8 public class ToscaTopolgyTemplateTest {
10 private ToscaTopolgyTemplate createTestSubject() {
11 return new ToscaTopolgyTemplate();
16 public void testGetNode_templates() throws Exception {
17 ToscaTopolgyTemplate testSubject;
18 Map<String, ToscaNodeTemplate> result;
21 testSubject = createTestSubject();
22 result = testSubject.getNode_templates();
27 public void testSetNode_templates() throws Exception {
28 ToscaTopolgyTemplate testSubject;
29 Map<String, ToscaNodeTemplate> node_templates = null;
32 testSubject = createTestSubject();
33 testSubject.setNode_templates(node_templates);
38 public void testGetGroups() throws Exception {
39 ToscaTopolgyTemplate testSubject;
40 Map<String, ToscaGroupTemplate> result;
43 testSubject = createTestSubject();
44 result = testSubject.getGroups();
51 public void testGetSubstitution_mappings() throws Exception {
52 ToscaTopolgyTemplate testSubject;
53 SubstitutionMapping result;
56 testSubject = createTestSubject();
57 result = testSubject.getSubstitution_mappings();
62 public void testSetSubstitution_mappings() throws Exception {
63 ToscaTopolgyTemplate testSubject;
64 SubstitutionMapping substitution_mapping = null;
67 testSubject = createTestSubject();
68 testSubject.setSubstitution_mappings(substitution_mapping);
73 public void testGetInputs() throws Exception {
74 ToscaTopolgyTemplate testSubject;
75 Map<String, ToscaProperty> result;
78 testSubject = createTestSubject();
79 result = testSubject.getInputs();
84 public void testSetInputs() throws Exception {
85 ToscaTopolgyTemplate testSubject;
86 Map<String, ToscaProperty> inputs = null;
89 testSubject = createTestSubject();
90 testSubject.setInputs(inputs);