}
@Test
public void testInheritance() {
OneDimensionalChildPojo pojo = factory
.manufacturePojo(OneDimensionalChildPojo.class);
Assert.assertNotNull("The pojo cannot be null!", pojo);
int parentIntField = pojo.getParentIntField();
Assert.assertTrue("The super int field must be <= 10",
parentIntField <= 10);
Calendar parentCalendarField = pojo.getParentCalendarField();
checkCalendarIsValid(parentCalendarField);
int intField = pojo.getIntField();
Assert.assertTrue("The int field must be different from zero!",
intField != 0);
String strField = pojo.getStrField();
Assert.assertNotNull("The string field cannot be null!", strField);
Assert.assertTrue("The String field cannot be empty",
strField.length() != 0);
}