("recordsByNameAndType", int.class, String.class, String.class));
assertNull(md.template().body());
assertNull(md.template().bodyTemplate());
assertTrue(md.template().headers().isEmpty());
assertEquals(md.template().url(), "/domains/{domainId}/records");
assertEquals(md.template().queries().get("name"), ImmutableSet.of("{name}"));
assertEquals(md.template().queries().get("type"), ImmutableSet.of("{type}"));
assertEquals(md.indexToName().get(0), ImmutableSet.of("domainId"));
assertEquals(md.indexToName().get(1), ImmutableSet.of("name"));
assertEquals(md.indexToName().get(2), ImmutableSet.of("type"));
assertEquals(md.template().toString(), "GET /domains/{domainId}/records?name={name}&type={type} HTTP/1.1\n");