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