@Test
@Ignore("ignored until we find a proper solution")
public void bodyFieldConflictsWithParameter() throws Exception {

  final class Endpoint {
    @SuppressWarnings("unused")
    public void set(@Named("date") String id, Bean resource) {}
  }
  new ApiConfigAnnotationReader().loadEndpointMethods(serviceContext, Endpoint.class,
      apiConfig.getApiClassConfig().getMethods());
  try {
    writer.writeConfig(Collections.singleton(apiConfig));
    fail();
  } catch (PropertyParameterNameConflictException e) {
    // Expected.
  }
}