@Test
public void formParamsParseIntoIndexToName() throws Exception {

  final MethodMetadata md = parseAndValidateMetadata(FormParams.class,
      "login", String.class, String.class, String.class);
  assertThat(md.formParams())
      .containsExactly("customer_name", "user_name", "password");
  assertThat(md.indexToName()).containsExactly(
      entry(0, asList("customer_name")),
      entry(1, asList("user_name")),
      entry(2, asList("password")));
}