Final commit to master merge from
[sdc.git] / catalog-model / src / test / java / org / openecomp / sdc / be / model / InterfaceDefinitionTest.java
1 package org.openecomp.sdc.be.model;
2
3 import java.util.Map;
4
5 import org.junit.Test;
6
7
8 public class InterfaceDefinitionTest {
9
10         private InterfaceDefinition createTestSubject() {
11                 return new InterfaceDefinition();
12         }
13
14         @Test
15         public void testIsDefinition() throws Exception {
16                 InterfaceDefinition testSubject;
17                 boolean result;
18
19                 // default test
20                 testSubject = createTestSubject();
21                 result = testSubject.isDefinition();
22         }
23
24         @Test
25         public void testSetDefinition() throws Exception {
26                 InterfaceDefinition testSubject;
27                 boolean definition = false;
28
29                 // default test
30                 testSubject = createTestSubject();
31                 testSubject.setDefinition(definition);
32         }
33
34         @Test
35         public void testGetOperationsMap() throws Exception {
36                 InterfaceDefinition testSubject;
37                 Map<String, Operation> result;
38
39                 // default test
40                 testSubject = createTestSubject();
41                 result = testSubject.getOperationsMap();
42         }
43
44
45
46         @Test
47         public void testToString() throws Exception {
48                 InterfaceDefinition testSubject;
49                 String result;
50
51                 // default test
52                 testSubject = createTestSubject();
53                 result = testSubject.toString();
54         }
55 }