@Test public void requestLineOnlyRequiresMethod() throws Exception {
MethodMetadata md = contract.parseAndValidatateMetadata(CustomMethodAndURIParam.class.getDeclaredMethod("patch",
URI.class));
assertEquals(md.template().method(), "PATCH");
assertEquals(md.template().url(), "");
assertTrue(md.template().queries().isEmpty());
assertTrue(md.template().headers().isEmpty());
assertNull(md.template().body());
assertNull(md.template().bodyTemplate());
assertEquals(md.urlIndex(), Integer.valueOf(0));