}
@Test
public void testRecursiveHierarchyPojo() {
RecursivePojo pojo = factory.manufacturePojo(RecursivePojo.class);
Assert.assertNotNull("The recursive pojo cannot be null!", pojo);
Assert.assertTrue("The integer value in the pojo should not be zero!",
pojo.getIntField() != 0);
RecursivePojo parentPojo = pojo.getParent();
Assert.assertNotNull("The parent pojo cannot be null!", parentPojo);
Assert.assertTrue(
"The integer value in the parent pojo should not be zero!",
parentPojo.getIntField() != 0);
Assert.assertNotNull(
"The parent attribute of the parent pojo cannot be null!",
parentPojo.getParent());
}