Refactoring Consolidation Service
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / info / GroupDefinitionInfoTest.java
1 package org.openecomp.sdc.be.info;
2
3 import org.junit.Test;
4 import org.openecomp.sdc.be.model.GroupDefinition;
5 import org.openecomp.sdc.be.model.GroupInstance;
6
7 import com.google.code.beanmatchers.BeanMatchers;
8 import static org.hamcrest.MatcherAssert.assertThat;
9
10
11 public class GroupDefinitionInfoTest {
12         @Test
13     public void testCtor() {
14                 new GroupDefinitionInfo(new GroupDefinition());
15                 new GroupDefinitionInfo(new GroupInstance());
16         }
17         
18         @Test
19     public void shouldHaveValidGettersAndSetters() {
20         assertThat(GroupDefinitionInfo.class, BeanMatchers.hasValidGettersAndSetters());
21     }
22     
23     @Test
24     public void testToString() {
25         (new GroupDefinitionInfo()).toString();
26     }
27 }