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