use of uk.co.jemos.podam.test.dto.pdm42.B in project podam by devopsfolks.
the class InheritanceTest method podamShouldManufactureAllPojosInATreeHierarchy.
@Test
@Title("Podam should manufacture all POJOs in a tree hierarchy")
public void podamShouldManufactureAllPojosInATreeHierarchy() throws Exception {
PodamFactory podamFactory = podamFactorySteps.givenAStandardPodamFactory();
A pojo = podamInvocationSteps.whenIInvokeTheFactoryForClass(A.class, podamFactory);
podamValidationSteps.theObjectShouldNotBeNull(pojo);
B b = pojo.getB();
podamValidationSteps.theObjectShouldNotBeNull(b);
podamValidationSteps.theObjectShouldNotBeNull(b.getCustomValue());
}
Aggregations