Package uk.co.jemos.podam.test.dto.pdm45

Examples of uk.co.jemos.podam.test.dto.pdm45.GenericAttributePojo


  }
 
  @Test
  public void testPojoWithGenericFields() {
    final GenericAttributePojo pojo = factory.manufacturePojo(GenericAttributePojo.class);
   
    final GenericPojo<String, Long> genericPojo = pojo.getGenericPojo();
    Assert.assertNotNull("The GenericPojo object cannot be null!", genericPojo);
   
    Assert.assertNotNull("The generated object cannot be null!", genericPojo.getFirstValue());
    Assert.assertEquals("The generated object must be a String!", String.class, genericPojo.getFirstValue().getClass());
    Assert.assertNotNull("The generated object cannot be null!", genericPojo.getSecondValue());
View Full Code Here


    checkMultiDimensionalPojo(pojo);
  }

  @Test
  public void testConstructorMultiDimensionalPojo() {
    final MultiDimensionalConstructorPojo pojo = factory.manufacturePojo(MultiDimensionalConstructorPojo.class);
   
    checkMultiDimensionalPojo(pojo);
  }
View Full Code Here

   
  }
 
  @Test
  public void testMultiDimensionalTestPojo() {
    final MultiDimensionalTestPojo pojo = factory.manufacturePojo(MultiDimensionalTestPojo.class);
   
    checkMultiDimensionalPojo(pojo);
  }
View Full Code Here

TOP

Related Classes of uk.co.jemos.podam.test.dto.pdm45.GenericAttributePojo

Copyright © 2018 www.massapicom. 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.