ParameterMetaData parameterMetaData = methodMetaData.getParameterMetaData( 0 );
assertFalse( parameterMetaData.isCascading() );
assertFalse( parameterMetaData.isConstrained() );
assertThat( parameterMetaData ).isEmpty();
assertEquals( parameterMetaData.unwrapMode(), UnwrapMode.AUTOMATIC );
}
@Test(expectedExceptions = IllegalArgumentException.class)
public void illegalParameterIndexCausesException() throws Exception {
Method method = CustomerRepository.class.getMethod( "foo" );