}
@Test(expectedExceptions = IllegalArgumentException.class, expectedExceptionsMessageRegExp = "HV000163.*")
public void testPassingNonMatchingMethodParametersThrowsException() throws Exception {
Method method = CustomerRepository.class.getMethod( "findCustomerByName", String.class );
validator.validateParameters( customerRepository, method, new Object[] { new Customer() } );
}