RegistryEndpointProvider<URL> writer(URL location, Consumer<Long> writtenByteCountListener) {
    return new Writer(location, writtenByteCountListener);
  }
@Test
  public void testWriter_getHttpMethod() {
    Assert.assertEquals("PATCH", testBlobPusher.writer(mockUrl, ignored -> {}).getHttpMethod());
  }