@Test
public void shouldNameArrayAsItsSimpleTypeName() throws SecurityException, NoSuchMethodException {

assertThat(provider.parameterNamesFor(Horse.class.getMethod("setLeg", int[].class))[0], is(equalTo("intList")));
}