diff options
Diffstat (limited to 'src/test/java/org/onap/sdc/dcae/composition/model/ModelDcaeTest.java')
-rw-r--r-- | src/test/java/org/onap/sdc/dcae/composition/model/ModelDcaeTest.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/java/org/onap/sdc/dcae/composition/model/ModelDcaeTest.java b/src/test/java/org/onap/sdc/dcae/composition/model/ModelDcaeTest.java index 07a77ae..7f60f3e 100644 --- a/src/test/java/org/onap/sdc/dcae/composition/model/ModelDcaeTest.java +++ b/src/test/java/org/onap/sdc/dcae/composition/model/ModelDcaeTest.java @@ -2,6 +2,8 @@ package org.onap.sdc.dcae.composition.model; 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 ModelDcaeTest { public void shouldHaveValidGettersAndSetters() { assertThat(ModelDcae.class, hasValidGettersAndSetters()); } + + @Test + public void testHasValidConstructor() { + assertThat(ModelDcae.class, hasValidBeanConstructor()); + } + + @Test + public void checkHashCodeFor() { + assertThat(ModelDcae.class, hasValidBeanHashCodeFor()); + } }
\ No newline at end of file |