diff options
Diffstat (limited to 'src/test/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/SchemaInfoTest.java')
-rw-r--r-- | src/test/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/SchemaInfoTest.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/SchemaInfoTest.java b/src/test/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/SchemaInfoTest.java index ece2dbc..6241d46 100644 --- a/src/test/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/SchemaInfoTest.java +++ b/src/test/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/SchemaInfoTest.java @@ -2,6 +2,8 @@ package org.onap.sdc.dcae.composition.restmodels.ruleeditor; 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.*; @@ -11,4 +13,14 @@ public class SchemaInfoTest { public void shouldHaveValidGettersAndSetters() { assertThat(SchemaInfo.class, hasValidGettersAndSetters()); } + + @Test + public void testHasValidConstructor() { + assertThat(SchemaInfo.class, hasValidBeanConstructor()); + } + + @Test + public void checkHashCodeFor() { + assertThat(SchemaInfo.class, hasValidBeanHashCodeFor()); + } }
\ No newline at end of file |