use of uk.co.jemos.podam.test.dto.pdm6.RecursiveList in project podam by devopsfolks.
the class PodamFactoryBasicTypesTest method podamShouldSupportRecursiveLists.
@Test
@Title("Podam should fill in lists of the containing class type")
public void podamShouldSupportRecursiveLists() throws Exception {
PodamFactory podamFactory = podamFactorySteps.givenAStandardPodamFactory();
RecursiveList recursiveListPojo = podamInvocationSteps.whenIInvokeTheFactoryForClass(RecursiveList.class, podamFactory);
podamValidationSteps.thePojoMustBeOfTheType(recursiveListPojo, RecursiveList.class);
podamValidationSteps.theCollectionShouldNotBeNullOrEmptyAndContainElementsOfType(recursiveListPojo.getList(), RecursiveList.class);
}
Aggregations