Examples of PodamParameterizedType


Examples of uk.co.jemos.podam.api.PodamParameterizedType

 
  @Test
  @SuppressWarnings("unchecked")
  public void testMultiDimensionalPojoManufacture() {
    ParameterizedType twoDimensionalStringListType =
        new PodamParameterizedType(List.class,
            new PodamParameterizedType(List.class,
                String.class));
    ParameterizedType longDoubleMapType =
        new PodamParameterizedType(Map.class, Long.class, Double.class);
   
    final GenericPojo<List<List<String>>, Map<Long, Double>> pojo =
        factory.manufacturePojo(GenericPojo.class, twoDimensionalStringListType, longDoubleMapType);
   
    Assert.assertNotNull("The GenericPojo object cannot be null!", pojo);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.