Upgrade sonar plugin
[vid.git] / vid-app-common / src / test / java / org / openecomp / vid / model / NewVNFTest.java
1 package org.openecomp.vid.model;
2
3 import java.util.Map;
4
5 import org.junit.Test;
6
7 public class NewVNFTest {
8
9         private NewVNF createTestSubject() {
10                 return new NewVNF();
11         }
12
13         
14         @Test
15         public void testGetModelCustomizationName() throws Exception {
16                 NewVNF testSubject;
17                 String result;
18
19                 // default test
20                 testSubject = createTestSubject();
21                 result = testSubject.getModelCustomizationName();
22         }
23
24         
25         @Test
26         public void testGetVfModules() throws Exception {
27                 NewVNF testSubject;
28                 Map<String, VfModule> result;
29
30                 // default test
31                 testSubject = createTestSubject();
32                 result = testSubject.getVfModules();
33         }
34
35         
36         @Test
37         public void testSetVfModules() throws Exception {
38                 NewVNF testSubject;
39                 Map<String, VfModule> vfModules = null;
40
41                 // default test
42                 testSubject = createTestSubject();
43                 testSubject.setVfModules(vfModules);
44         }
45
46         
47         @Test
48         public void testGetVolumeGroups() throws Exception {
49                 NewVNF testSubject;
50                 Map<String, VolumeGroup> result;
51
52                 // default test
53                 testSubject = createTestSubject();
54                 result = testSubject.getVolumeGroups();
55         }
56
57         
58         @Test
59         public void testSetVolumeGroups() throws Exception {
60                 NewVNF testSubject;
61                 Map<String, VolumeGroup> volumeGroups = null;
62
63                 // default test
64                 testSubject = createTestSubject();
65                 testSubject.setVolumeGroups(volumeGroups);
66         }
67
68         
69         @Test
70         public void testSetModelCustomizationName() throws Exception {
71                 NewVNF testSubject;
72                 String modelCustomizationName = "";
73
74                 // default test
75                 testSubject = createTestSubject();
76                 testSubject.setModelCustomizationName(modelCustomizationName);
77         }
78
79         
80         @Test
81         public void testNormalizeName() throws Exception {
82                 String originalName = "";
83                 String result;
84
85                 // default test
86                 result = NewVNF.normalizeName(originalName);
87         }
88 }