use of uk.co.jemos.podam.test.dto.pdm6.Child in project podam by devopsfolks.
the class PodamFactoryBasicTypesTest method podamShouldSupportCircularDependencies.
@Test
@Title("Podam should fill in POJOs which have a circular dependency")
public void podamShouldSupportCircularDependencies() throws Exception {
PodamFactory podamFactory = podamFactorySteps.givenAStandardPodamFactory();
Parent parent = podamInvocationSteps.whenIInvokeTheFactoryForClass(Parent.class, podamFactory);
podamValidationSteps.thePojoMustBeOfTheType(parent, Parent.class);
Child child = parent.getChild();
podamValidationSteps.thePojoMustBeOfTheType(child, Child.class);
}
Aggregations