summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/sdc/dcae/composition/restmodels/canvas/SubCategoryFolderTest.java
blob: 708f2d037b38aa73ba9dc8f426a4ce4a9a578080 (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
package org.onap.sdc.dcae.composition.restmodels.canvas;

import org.junit.Test;

import static com.google.code.beanmatchers.BeanMatchers.hasValidBeanConstructor;
import static com.google.code.beanmatchers.BeanMatchers.hasValidBeanHashCodeFor;
import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
import static org.junit.Assert.assertThat;

public class SubCategoryFolderTest {
    @Test
    public void shouldHaveValidGettersAndSetters() {
        assertThat(DcaeComponentCatalog.SubCategoryFolder.class, hasValidGettersAndSetters()); }

    @Test
    public void testHasValidConstructor() {
        assertThat(DcaeComponentCatalog.SubCategoryFolder.class, hasValidBeanConstructor());
    }

    @Test
    public void checkHashCodeFor() {
        assertThat(DcaeComponentCatalog.SubCategoryFolder.class, hasValidBeanHashCodeFor());
    }
}