import org.junit.Test;
-public class AaiRelationResponseTest {
-
- private AaiRelationResponse createTestSubject() {
- return new AaiRelationResponse();
- }
-
- @Test
- public void testGetResourceVersion() throws Exception {
- AaiRelationResponse testSubject;
- String result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.getResourceVersion();
- }
+import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
+import static org.hamcrest.MatcherAssert.assertThat;
- @Test
- public void testSetResourceVersion() throws Exception {
- AaiRelationResponse testSubject;
- String resourceVersion = "";
-
- // default test
- testSubject = createTestSubject();
- testSubject.setResourceVersion(resourceVersion);
- }
+public class AaiRelationResponseTest {
@Test
- public void testGetRelationshipList() throws Exception {
- AaiRelationResponse testSubject;
- RelationshipList result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.getRelationshipList();
+ public void shouldHaveValidGettersAndSetters(){
+ assertThat(AaiRelationResponse.class, hasValidGettersAndSetters());
}
- @Test
- public void testSetRelationshipList() throws Exception {
- AaiRelationResponse testSubject;
- RelationshipList relationshipList = null;
-
- // default test
- testSubject = createTestSubject();
- testSubject.setRelationshipList(relationshipList);
- }
}
\ No newline at end of file