@Test
public void responseFieldDoesNotConflictWithParameter() throws Exception {

  final class Endpoint {
    @SuppressWarnings("unused")
    public Bean get(@Named("date") String id) {
      return null;
    }
  }
  new ApiConfigAnnotationReader().loadEndpointMethods(serviceContext, Endpoint.class,
      apiConfig.getApiClassConfig().getMethods());
  writer.writeConfig(Collections.singleton(apiConfig));
}