1 package org.openecomp.sdc.be.model;
4 import org.openecomp.sdc.be.datatypes.elements.GroupTypeDataDefinition;
6 import java.util.HashMap;
10 public class GroupTypeDefinitionTest {
12 private GroupTypeDefinition createTestSubject() {
13 return new GroupTypeDefinition();
17 public void testCtor() throws Exception {
18 new GroupTypeDefinition(new GroupTypeDataDefinition());
22 public void testGetProperties() throws Exception {
23 GroupTypeDefinition testSubject;
24 List<PropertyDefinition> result;
27 testSubject = createTestSubject();
28 result = testSubject.getProperties();
33 public void testSetProperties() throws Exception {
34 GroupTypeDefinition testSubject;
35 List<PropertyDefinition> properties = null;
38 testSubject = createTestSubject();
39 testSubject.setProperties(properties);
43 public void testGetCapabilityTypes() throws Exception {
44 GroupTypeDefinition testSubject;
45 List<PropertyDefinition> properties = null;
48 testSubject = createTestSubject();
49 testSubject.getCapabilities();
53 public void testSetCapabilityTypes() throws Exception {
54 GroupTypeDefinition testSubject;
57 testSubject = createTestSubject();
58 testSubject.setCapabilities(new HashMap<>());
62 public void testToString() throws Exception {
63 GroupTypeDefinition testSubject;
67 testSubject = createTestSubject();
68 result = testSubject.toString();