Method method = SampleRepository.class.getMethod("foo", Date.class, String.class);
JpaParameters parameters = new JpaParameters(method);
JpaParameter parameter = parameters.getBindableParameter(0);
assertThat(parameter.isSpecialParameter(), is(false));
assertThat(parameter.isTemporalParameter(), is(true));
assertThat(parameter.getTemporalType(), is(TemporalType.TIMESTAMP));
parameter = parameters.getBindableParameter(1);
assertThat(parameter.isTemporalParameter(), is(false));
}