RegistryEndpointProvider<Optional<URL>> initializer() {
    return new Initializer();
  }
@Test
  public void testInitializer_handleResponse_accepted() throws IOException, RegistryException {
    Mockito.when(mockResponse.getStatusCode()).thenReturn(202); // Accepted
    Mockito.when(mockResponse.getHeader("Location"))
        .thenReturn(Collections.singletonList("location"));
    GenericUrl requestUrl = new GenericUrl("https://someurl");
    Mockito.when(mockResponse.getRequestUrl()).thenReturn(requestUrl);
    Assert.assertEquals(
        new URL("https://someurl/location"),
        testBlobPusher.initializer().handleResponse(mockResponse).get());
  }