public class Pdm4PojoUnitTest {
@Test
public void testPdm4Pojo() {
PodamFactory factory = new PodamFactoryImpl();
Pdm4PojoWithSetters pojo = factory.manufacturePojo(Pdm4PojoWithSetters.class);
assertNotNull(pojo);
assertEquals("Invocation order has changed", 4, pojo.invocationOrder.size());
assertEquals("Invocation order has changed", "PodamConstructor", pojo.invocationOrder.get(0));
assertEquals("Invocation order has changed", "no-op", pojo.invocationOrder.get(1));
assertEquals("Invocation order has changed", "InputStream", pojo.invocationOrder.get(2));