aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/java/org/openecomp/sdc/be/info/GroupDefinitionInfoTest.java
blob: 1fb44a0cb7f2d574f7c3fc04b5352a383e2eab50 (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
package org.openecomp.sdc.be.info;

import org.junit.Ignore;
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());
	}

    @Ignore("the test fails on null pointer how ever the method does exists.")
	@Test
    public void shouldHaveValidGettersAndSetters() {
        assertThat(GroupDefinitionInfo.class, BeanMatchers.hasValidGettersAndSetters());
    }
    
    @Test
    public void testToString() {
        (new GroupDefinitionInfo()).toString();
    }
}