Examples of voidMethodWithIllegalReturnValueConstraint()


Examples of org.hibernate.validator.test.internal.engine.methodvalidation.service.CustomerRepositoryWithConstrainedVoidMethod.voidMethodWithIllegalReturnValueConstraint()

  public void voidMethodWithReturnValueConstraintCausesConstraintDeclarationException() {
    CustomerRepositoryWithConstrainedVoidMethod customerRepository = getValidatingProxy(
        new CustomerRepositoryWithConstrainedVoidMethodImpl(), validator
    );

    customerRepository.voidMethodWithIllegalReturnValueConstraint();
  }

  @TestForIssue(jiraKey = "HV-601")
  @Test(expectedExceptions = ConstraintViolationException.class)
  public void shouldValidateGetterLikeNamedMethodWithParameter() {
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.