4144dcf620e81825c25aedd3f6f3d5df32f4fd25
[sdc.git] /
1 package org.openecomp.sdc.be.components.distribution.engine;
2
3 import java.util.ArrayList;
4 import java.util.List;
5 import java.util.Map;
6
7 import org.junit.Test;
8 import org.openecomp.sdc.be.model.GroupDefinition;
9 import org.openecomp.sdc.be.model.GroupInstanceProperty;
10
11
12 public class VfModuleArtifactPayloadTest {
13
14         private VfModuleArtifactPayload createTestSubject() {
15                 return new VfModuleArtifactPayload(new GroupDefinition());
16         }
17
18         
19
20         
21         @Test
22         public void testGetArtifacts() throws Exception {
23                 VfModuleArtifactPayload testSubject;
24                 List<String> result;
25
26                 // default test
27                 testSubject = createTestSubject();
28                 result = testSubject.getArtifacts();
29         }
30
31         
32         @Test
33         public void testSetArtifacts() throws Exception {
34                 VfModuleArtifactPayload testSubject;
35                 List<String> artifacts = null;
36
37                 // default test
38                 testSubject = createTestSubject();
39                 testSubject.setArtifacts(artifacts);
40         }
41
42         
43         @Test
44         public void testGetProperties() throws Exception {
45                 VfModuleArtifactPayload testSubject;
46                 Map<String, Object> result;
47
48                 // default test
49                 testSubject = createTestSubject();
50                 result = testSubject.getProperties();
51         }
52
53         
54         @Test
55         public void testSetProperties() throws Exception {
56                 VfModuleArtifactPayload testSubject;
57                 List<GroupInstanceProperty> properties = new ArrayList<>();
58
59                 // default test
60                 testSubject = createTestSubject();
61                 testSubject.setProperties(properties);
62         }
63 }