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

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