Raised JUnit coverage for tosca package
[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 org.apache.commons.lang3.tuple.Triple;
6 import org.junit.Test;
7 import org.openecomp.sdc.be.model.Component;
8
9
10 public class ToscaRepresentationTest {
11
12         private ToscaRepresentation createTestSubject() {
13                 return new ToscaRepresentation();
14         }
15
16         
17         @Test
18         public void testGetMainYaml() throws Exception {
19                 ToscaRepresentation testSubject;
20                 String result;
21
22                 // default test
23                 testSubject = createTestSubject();
24                 result = testSubject.getMainYaml();
25         }
26
27         
28         @Test
29         public void testSetMainYaml() throws Exception {
30                 ToscaRepresentation testSubject;
31                 String mainYaml = "";
32
33                 // default test
34                 testSubject = createTestSubject();
35                 testSubject.setMainYaml(mainYaml);
36         }
37
38         
39         @Test
40         public void testGetDependencies() throws Exception {
41                 ToscaRepresentation testSubject;
42                 List<Triple<String, String, Component>> result;
43
44                 // default test
45                 testSubject = createTestSubject();
46                 result = testSubject.getDependencies();
47         }
48
49         
50         @Test
51         public void testSetDependencies() throws Exception {
52                 ToscaRepresentation testSubject;
53                 List<Triple<String, String, Component>> dependencies = null;
54
55                 // default test
56                 testSubject = createTestSubject();
57                 testSubject.setDependencies(dependencies);
58         }
59 }