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

Examples of uk.co.jemos.podam.test.dto.annotations.StringValuePojo


  }

  @Test
  public void testStringValueAnnotation() {

    StringValuePojo pojo = factory.manufacturePojo(StringValuePojo.class);
    String twentyLengthString = pojo.getTwentyLengthString();
    Assert.assertNotNull("The twentyLengthString cannot be null!",
        twentyLengthString);
    Assert.assertTrue(
        "The twenty length string must have a length of "
            + PodamTestConstants.STR_ANNOTATION_TWENTY_LENGTH
            + "! but it did have a length of "
            + twentyLengthString.length(),
            twentyLengthString.length() == PodamTestConstants.STR_ANNOTATION_TWENTY_LENGTH);

    String preciseValueString = pojo.getPreciseValueString();
    Assert.assertNotNull("The precise value string cannot be null!",
        preciseValueString);
    Assert.assertEquals(
        "The expected and actual String values don't match",
        PodamTestConstants.STR_ANNOTATION_PRECISE_VALUE,
View Full Code Here

TOP

Related Classes of uk.co.jemos.podam.test.dto.annotations.StringValuePojo

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.