blob: db97b1e809bb833c4f9bdc274984764e5ff28eef (
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
|
package org.openecomp.sdc.be.model;
import java.util.List;
import org.junit.Test;
public class GroupDefinitionTest {
private GroupDefinition createTestSubject() {
return new GroupDefinition();
}
@Test
public void testConvertToGroupProperties() throws Exception {
GroupDefinition testSubject;
List<GroupProperty> result;
// default test
testSubject = createTestSubject();
result = testSubject.convertToGroupProperties();
}
@Test
public void testConvertFromGroupProperties() throws Exception {
GroupDefinition testSubject;
List<GroupProperty> properties = null;
// test 1
testSubject = createTestSubject();
properties = null;
testSubject.convertFromGroupProperties(properties);
}
@Test
public void testIsSamePrefix() throws Exception {
GroupDefinition testSubject;
String resourceName = "";
boolean result;
// default test
testSubject = createTestSubject();
result = testSubject.isSamePrefix(resourceName);
}
}
|