summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/sdc/dcae/composition/restmodels/MonitoringComponentTest.java
blob: c601052a7aac5ef5c02086327fb8f67e84c75264 (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
28
29
package org.onap.sdc.dcae.composition.restmodels;

import org.junit.Test;

import static com.google.code.beanmatchers.BeanMatchers.*;
import static org.junit.Assert.*;

public class MonitoringComponentTest {

	@Test
	public void shouldHaveValidGettersAndSetters() {
		assertThat(MonitoringComponent.class, hasValidGettersAndSetters());
	}

	@Test
	public void checkEquals() {
		assertThat(MonitoringComponent.class, hasValidBeanEquals());
	}

	@Test
	public void testHasValidConstructor() {
		assertThat(MonitoringComponent.class, hasValidBeanConstructor());
	}

	@Test
	public void checkHashCodeFor() {
		assertThat(MonitoringComponent.class, hasValidBeanHashCodeFor());
	}
}