blob: 61a27689a11855a8cd0cea8ced5081a4cd64fb4e (
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
|
package org.openecomp.sdc.be.info;
import org.junit.Test;
import org.openecomp.sdc.be.model.GroupDefinition;
import org.openecomp.sdc.be.model.GroupInstance;
import com.google.code.beanmatchers.BeanMatchers;
import static org.hamcrest.MatcherAssert.assertThat;
public class GroupDefinitionInfoTest {
@Test
public void testCtor() {
new GroupDefinitionInfo(new GroupDefinition());
new GroupDefinitionInfo(new GroupInstance());
}
@Test
public void shouldHaveValidGettersAndSetters() {
assertThat(GroupDefinitionInfo.class, BeanMatchers.hasValidGettersAndSetters());
}
@Test
public void testToString() {
(new GroupDefinitionInfo()).toString();
}
}
|