blob: 6487d817869681298b4be96ffd44b1bad6c6367a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package org.onap.sdc.dcae.composition.restmodels.sdc;
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.*;
public class DcaeComponentsTest {
@Test
public void shouldHaveValidGettersAndSetters() {
assertThat(DcaeComponents.class, hasValidGettersAndSetters());
}
@Test
public void testHasValidConstructor() {
assertThat(DcaeComponents.class, hasValidBeanConstructor());
}
@Test
public void checkHashCodeFor() {
assertThat(DcaeComponents.class, hasValidBeanHashCodeFor());
}
}
|