1 package org.openecomp.sdc.be.components.distribution.engine;
3 import java.util.ArrayList;
8 import org.openecomp.sdc.be.model.GroupDefinition;
9 import org.openecomp.sdc.be.model.GroupInstanceProperty;
12 public class VfModuleArtifactPayloadTest {
14 private VfModuleArtifactPayload createTestSubject() {
15 return new VfModuleArtifactPayload(new GroupDefinition());
22 public void testGetArtifacts() throws Exception {
23 VfModuleArtifactPayload testSubject;
27 testSubject = createTestSubject();
28 result = testSubject.getArtifacts();
33 public void testSetArtifacts() throws Exception {
34 VfModuleArtifactPayload testSubject;
35 List<String> artifacts = null;
38 testSubject = createTestSubject();
39 testSubject.setArtifacts(artifacts);
44 public void testGetProperties() throws Exception {
45 VfModuleArtifactPayload testSubject;
46 Map<String, Object> result;
49 testSubject = createTestSubject();
50 result = testSubject.getProperties();
55 public void testSetProperties() throws Exception {
56 VfModuleArtifactPayload testSubject;
57 List<GroupInstanceProperty> properties = new ArrayList<>();
60 testSubject = createTestSubject();
61 testSubject.setProperties(properties);