ResourceMethod method = ResourceMethod.GET;
RecordTemplate input = new RecordTemplateWithPrimitiveKey().setBody("foo").setId(1L);
Map<String, String> headers = new HashMap<String, String>();
headers.put("foo", "bar");
RestResponseDecoder decoder = new EntityResponseDecoder(GetRequest.class);
ResourceSpec resourceSpec = buildResourceSpec();
Map<String, Object> queryParams = new HashMap<String, Object>();
queryParams.put("foo", "bar");
String methodName = "baz";
String baseUriTemplate = BASE_URI_TEMPLATE;