1 package org.openecomp.sdc.be.tosca.model;
7 public class ToscaInterfaceDefinitionTest {
9 private ToscaInterfaceDefinition createTestSubject() {
10 return new ToscaInterfaceDefinition();
14 public void testGetType() throws Exception {
15 ToscaInterfaceDefinition testSubject;
19 testSubject = createTestSubject();
20 result = testSubject.getType();
24 public void testSetType() throws Exception {
25 ToscaInterfaceDefinition testSubject;
29 testSubject = createTestSubject();
30 testSubject.setType(type);
34 public void testGetOperations() throws Exception {
35 ToscaInterfaceDefinition testSubject;
36 Map<String, Object> result;
39 testSubject = createTestSubject();
40 result = testSubject.getOperations();
44 public void testSetOperations() throws Exception {
45 ToscaInterfaceDefinition testSubject;
46 Map<String, Object> toscaOperations = null;
49 testSubject = createTestSubject();
50 testSubject.setOperations(toscaOperations);