}
@Test(expectedExceptions = ConstraintDeclarationException.class, expectedExceptionsMessageRegExp = "HV000132.*")
public void voidMethodWithReturnValueConstraintCausesConstraintDeclarationException() {
CustomerRepositoryWithConstrainedVoidMethod customerRepository = getValidatingProxy(
new CustomerRepositoryWithConstrainedVoidMethodImpl(), validator
);
customerRepository.voidMethodWithIllegalReturnValueConstraint();
}