@Test
 public void shouldNameArrayAsItsSimpleTypeName() throws Exception {
   Method method = Airplane.class.getDeclaredMethod("add", String[].class);
   Parameter[] namesFor = provider.parametersFor(method);
   assertThat(toNames(namesFor), Matchers.contains("pilots"));
 }
 @Test
 public void shouldNameGenericCollectionUsingOf() throws Exception {
   Method method = Airplane.class.getDeclaredMethod("add", List.class);
   Parameter[] namesFor = provider.parametersFor(method);
   assertThat(toNames(namesFor), Matchers.contains("passengers"));
 }
 @Test
 public void shouldNamePrimitiveTypeAsItsSimpleName() throws Exception {
   Method method = Airplane.class.getDeclaredMethod("fly", String.class, Route.class, int.class);
   Parameter[] namesFor = provider.parametersFor(method);
   assertThat(toNames(namesFor), Matchers.contains("registration", "route", "ceilingService"));
 }