blob: 25c71cfb4165ef4a470072c50d16d7e9b98a32a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
package org.openecomp.sdc.be.info;
import org.junit.Test;
import org.openecomp.sdc.be.components.impl.ArtifactsBusinessLogic.ArtifactOperationEnum;
import org.openecomp.sdc.be.model.ArtifactDefinition;
import java.util.EnumMap;
import java.util.List;
import java.util.Map;
public class NodeTypeInfoToUpdateArtifactsTest {
private NodeTypeInfoToUpdateArtifacts createTestSubject() {
return new NodeTypeInfoToUpdateArtifacts("", null);
}
@Test
public void testGetNodeName() throws Exception {
NodeTypeInfoToUpdateArtifacts testSubject;
String result;
// default test
testSubject = createTestSubject();
result = testSubject.getNodeName();
}
@Test
public void testSetNodeName() throws Exception {
NodeTypeInfoToUpdateArtifacts testSubject;
String nodeName = "";
// default test
testSubject = createTestSubject();
testSubject.setNodeName(nodeName);
}
@Test
public void testGetNodeTypesArtifactsToHandle() throws Exception {
NodeTypeInfoToUpdateArtifacts testSubject;
Map<String, EnumMap<ArtifactOperationEnum, List<ArtifactDefinition>>> result;
// default test
testSubject = createTestSubject();
result = testSubject.getNodeTypesArtifactsToHandle();
}
@Test
public void testSetNodeTypesArtifactsToHandle() throws Exception {
NodeTypeInfoToUpdateArtifacts testSubject;
Map<String, EnumMap<ArtifactOperationEnum, List<ArtifactDefinition>>> nodeTypesArtifactsToHandle = null;
// default test
testSubject = createTestSubject();
testSubject.setNodeTypesArtifactsToHandle(nodeTypesArtifactsToHandle);
}
}
|