use of uk.co.jemos.podam.test.dto.pdm6.RecursiveMap in project podam by devopsfolks.
the class PodamFactoryBasicTypesTest method podamShouldSupportRecursiveMaps.
@Test
@Title("Podam should fill in Maps of the containing class type")
public void podamShouldSupportRecursiveMaps() throws Exception {
PodamFactory podamFactory = podamFactorySteps.givenAStandardPodamFactory();
RecursiveMap recursiveMap = podamInvocationSteps.whenIInvokeTheFactoryForClass(RecursiveMap.class, podamFactory);
podamValidationSteps.thePojoMustBeOfTheType(recursiveMap, RecursiveMap.class);
podamValidationSteps.theMapShouldNotBeNullOrEmptyAndContainElementsOfType(recursiveMap.getMap(), String.class, RecursiveMap.class);
}
Aggregations