Package org.hibernate.validator.internal.metadata.raw

Examples of org.hibernate.validator.internal.metadata.raw.ConstrainedExecutable.unwrapMode()


        beanConfigurations,
        GolfPlayer.class,
        "getHandicap"
    );

    assertEquals( constrainedMethod.unwrapMode(), UnwrapMode.UNWRAP );
  }

  @Test
  @TestForIssue(jiraKey = "HV-925")
  public void testSkipUnwrapValidatedValueOnProperty() throws Exception {
View Full Code Here


        beanConfigurations,
        GolfPlayer.class,
        "getScore"
    );

    assertEquals( constrainedMethod.unwrapMode(), UnwrapMode.SKIP_UNWRAP );
  }

  @Test
  @TestForIssue(jiraKey = "HV-819")
  public void unwrapValidatedValueOnMethod() throws Exception {
View Full Code Here

        beanConfigurations,
        GolfPlayer.class,
        "enterTournament"
    );

    assertEquals( constrainedMethod.unwrapMode(), UnwrapMode.UNWRAP );
  }

  @Test
  @TestForIssue(jiraKey = "HV-819")
  public void unwrapValidatedValueOnConstructor() throws Exception {
View Full Code Here

        beanConfigurations,
        Wrapper.class,
        Object.class
    );

    assertEquals( constrainedConstructor.unwrapMode(), UnwrapMode.UNWRAP );
  }

  @Test
  @TestForIssue(jiraKey = "HV-819")
  public void unwrapValidatedValueOnParameter() throws Exception {
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.