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

Examples of uk.co.jemos.podam.test.dto.MultipleInterfacesHolderPojo


  }

  @Test
  public void testHolderOfPojoWithMultiInterfaces() {

    MultipleInterfacesHolderPojo pojo = factory.manufacturePojo(
        MultipleInterfacesHolderPojo.class, String.class, String.class, Long.class);
    Assert.assertNotNull("POJO cannot be null", pojo);
    Assert.assertNull("POJO's interface value cannot be constructed",
        pojo.getList());
    Assert.assertNull("POJO's interface value cannot be constructed",
        pojo.getMap());
    List<Class<?>> accessed = strategy.getAccessed();
    Assert.assertEquals(2, accessed.size());
    Assert.assertTrue("MultipleInterfacesListPojo was not accessed",
        accessed.contains(MultipleInterfacesListPojo.class));
    Assert.assertTrue("MultipleInterfacesListPojo was not accessed",
View Full Code Here

TOP

Related Classes of uk.co.jemos.podam.test.dto.MultipleInterfacesHolderPojo

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.