List.class));
assertNull(md.template().body());
assertNull(md.template().bodyTemplate());
assertNull(md.urlIndex());
assertEquals(md.bodyIndex(), Integer.valueOf(0));
assertEquals(md.bodyType(), new TypeToken<List<String>>() {
}.getType());
}
@Test(expectedExceptions = IllegalStateException.class, expectedExceptionsMessageRegExp = "Method has too many Body.*")
public void tooManyBodies() throws Exception {