blob: a0484cca0138461aa47788c299d1b593d38fe372 (
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
|
package org.openecomp.sdc.be.model;
import org.junit.Test;
import org.openecomp.sdc.be.datatypes.elements.PropertyDataDefinition;
public class GroupInstancePropertyTest {
private GroupInstanceProperty createTestSubject() {
return new GroupInstanceProperty();
}
@Test
public void testCtor() throws Exception {
new GroupInstanceProperty(new GroupInstanceProperty());
new GroupInstanceProperty(new PropertyDataDefinition());
new GroupInstanceProperty(new GroupInstanceProperty(), "mock");
}
@Test
public void testGetParentValue() throws Exception {
GroupInstanceProperty testSubject;
String result;
// default test
testSubject = createTestSubject();
result = testSubject.getParentValue();
}
@Test
public void testSetParentValue() throws Exception {
GroupInstanceProperty testSubject;
String parentValue = "";
// default test
testSubject = createTestSubject();
testSubject.setParentValue(parentValue);
}
}
|