Examples of EmbeddedAbstractFieldTestPojo


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

  @Test
  public void testMockerForEmbeddedAbstractClassWithConcreteSpecified() {
    // Trying to create an abstract class with a specified concrete
    // implementation should be fine
    strategy.addSpecific(AbstractTestPojo.class, ConcreteTestPojo.class);
    EmbeddedAbstractFieldTestPojo pojo = factory
        .manufacturePojo(EmbeddedAbstractFieldTestPojo.class);
    Assert.assertNotNull("The pojo should not be null", pojo);
    Assert.assertNotNull(
        "The abstract embedded pojo should not be null since a concrete impl has been specified",
        pojo.getPojo());
    strategy.removeSpecific(AbstractTestPojo.class);
  }
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.