1 package org.openecomp.sdc.be.tosca;
5 import javax.annotation.Generated;
7 import org.apache.commons.lang3.tuple.Triple;
9 import org.openecomp.sdc.be.model.Component;
12 public class ToscaRepresentationTest {
14 private ToscaRepresentation createTestSubject() {
15 return new ToscaRepresentation();
20 public void testGetMainYaml() throws Exception {
21 ToscaRepresentation testSubject;
25 testSubject = createTestSubject();
26 result = testSubject.getMainYaml();
31 public void testSetMainYaml() throws Exception {
32 ToscaRepresentation testSubject;
36 testSubject = createTestSubject();
37 testSubject.setMainYaml(mainYaml);
42 public void testGetDependencies() throws Exception {
43 ToscaRepresentation testSubject;
44 List<Triple<String, String, Component>> result;
47 testSubject = createTestSubject();
48 result = testSubject.getDependencies();
53 public void testSetDependencies() throws Exception {
54 ToscaRepresentation testSubject;
55 List<Triple<String, String, Component>> dependancies = null;
58 testSubject = createTestSubject();
59 testSubject.setDependencies(dependancies);