Merge "Fix issues in resubmit"
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / tosca / ToscaRepresentationTest.java
1 package org.openecomp.sdc.be.tosca;
2
3 import java.util.List;
4
5 import javax.annotation.Generated;
6
7 import org.apache.commons.lang3.tuple.Triple;
8 import org.junit.Test;
9 import org.openecomp.sdc.be.model.Component;
10
11
12 public class ToscaRepresentationTest {
13
14         private ToscaRepresentation createTestSubject() {
15                 return new ToscaRepresentation();
16         }
17
18         
19         @Test
20         public void testGetMainYaml() throws Exception {
21                 ToscaRepresentation testSubject;
22                 String result;
23
24                 // default test
25                 testSubject = createTestSubject();
26                 result = testSubject.getMainYaml();
27         }
28
29         
30         @Test
31         public void testSetMainYaml() throws Exception {
32                 ToscaRepresentation testSubject;
33                 String mainYaml = "";
34
35                 // default test
36                 testSubject = createTestSubject();
37                 testSubject.setMainYaml(mainYaml);
38         }
39
40         
41         @Test
42         public void testGetDependencies() throws Exception {
43                 ToscaRepresentation testSubject;
44                 List<Triple<String, String, Component>> result;
45
46                 // default test
47                 testSubject = createTestSubject();
48                 result = testSubject.getDependencies();
49         }
50
51         
52         @Test
53         public void testSetDependencies() throws Exception {
54                 ToscaRepresentation testSubject;
55                 List<Triple<String, String, Component>> dependancies = null;
56
57                 // default test
58                 testSubject = createTestSubject();
59                 testSubject.setDependencies(dependancies);
60         }
61 }