summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/sdc/dcae/composition/restmodels/canvas/SubCategoryFolderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/onap/sdc/dcae/composition/restmodels/canvas/SubCategoryFolderTest.java')
-rw-r--r--src/test/java/org/onap/sdc/dcae/composition/restmodels/canvas/SubCategoryFolderTest.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/java/org/onap/sdc/dcae/composition/restmodels/canvas/SubCategoryFolderTest.java b/src/test/java/org/onap/sdc/dcae/composition/restmodels/canvas/SubCategoryFolderTest.java
index bc2c2d5..708f2d0 100644
--- a/src/test/java/org/onap/sdc/dcae/composition/restmodels/canvas/SubCategoryFolderTest.java
+++ b/src/test/java/org/onap/sdc/dcae/composition/restmodels/canvas/SubCategoryFolderTest.java
@@ -2,6 +2,8 @@ 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;
@@ -9,4 +11,14 @@ 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());
+ }
}