1 package org.onap.vid.model;
7 public class NewVNFTest {
9 private NewVNF createTestSubject() {
15 public void testGetModelCustomizationName() throws Exception {
20 testSubject = createTestSubject();
21 result = testSubject.getModelCustomizationName();
26 public void testGetVfModules() throws Exception {
28 Map<String, VfModule> result;
31 testSubject = createTestSubject();
32 result = testSubject.getVfModules();
37 public void testSetVfModules() throws Exception {
39 Map<String, VfModule> vfModules = null;
42 testSubject = createTestSubject();
43 testSubject.setVfModules(vfModules);
48 public void testGetVolumeGroups() throws Exception {
50 Map<String, VolumeGroup> result;
53 testSubject = createTestSubject();
54 result = testSubject.getVolumeGroups();
59 public void testSetVolumeGroups() throws Exception {
61 Map<String, VolumeGroup> volumeGroups = null;
64 testSubject = createTestSubject();
65 testSubject.setVolumeGroups(volumeGroups);
70 public void testSetModelCustomizationName() throws Exception {
72 String modelCustomizationName = "";
75 testSubject = createTestSubject();
76 testSubject.setModelCustomizationName(modelCustomizationName);
81 public void testNormalizeName() throws Exception {
82 String originalName = "";
86 result = NewVNF.normalizeName(originalName);