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