use of uk.co.jemos.podam.api.PodamFactoryImpl in project podam by devopsfolks.
the class Issue93UnitTest method testLoop.
@Test
public void testLoop() {
A a = new PodamFactoryImpl().manufacturePojo(A.class);
Assert.assertNotNull("The Pojo for class A should not be null", a);
}
use of uk.co.jemos.podam.api.PodamFactoryImpl in project podam by devopsfolks.
the class Pdm43UnitTest method validateDtoInstantiation.
@Test
public void validateDtoInstantiation() {
PodamFactory podamFactory = new PodamFactoryImpl();
ConcreteBusinessObject pojo = podamFactory.manufacturePojo(ConcreteBusinessObject.class);
Assert.assertNotNull("The created POJO cannot be null!", pojo);
}
use of uk.co.jemos.podam.api.PodamFactoryImpl in project podam by devopsfolks.
the class InvisibleConstructorAndNoSettersTest method testInvisibleConstructorAndNoSetters.
@Test
public void testInvisibleConstructorAndNoSetters() {
PodamFactory factory = new PodamFactoryImpl();
InvisibleConstructorAndNoSettersPojo pojo = factory.manufacturePojo(InvisibleConstructorAndNoSettersPojo.class);
assertNotNull(pojo);
}
Aggregations