summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/sdc/dcae/composition/restmodels/health/HealthResponseTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/onap/sdc/dcae/composition/restmodels/health/HealthResponseTest.java')
-rw-r--r--src/test/java/org/onap/sdc/dcae/composition/restmodels/health/HealthResponseTest.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/java/org/onap/sdc/dcae/composition/restmodels/health/HealthResponseTest.java b/src/test/java/org/onap/sdc/dcae/composition/restmodels/health/HealthResponseTest.java
index c1616e3..7cc9613 100644
--- a/src/test/java/org/onap/sdc/dcae/composition/restmodels/health/HealthResponseTest.java
+++ b/src/test/java/org/onap/sdc/dcae/composition/restmodels/health/HealthResponseTest.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,14 @@ public class HealthResponseTest {
public void shouldHaveValidGettersAndSetters() {
assertThat(HealthResponse.class, hasValidGettersAndSetters());
}
+
+ @Test
+ public void testHasValidConstructor() {
+ assertThat(HealthResponse.class, hasValidBeanConstructor());
+ }
+
+ @Test
+ public void checkHashCodeFor() {
+ assertThat(HealthResponse.class, hasValidBeanHashCodeFor());
+ }
} \ No newline at end of file