@Test
public void shouldPassOnPutMethod() throws Throwable {

  assertThat(httpFunction()
          .apply(HTTP_PUT_REQUEST),
      is(notNullValue()));
  verify(mockHttpURLConnection).setRequestMethod(PUT_METHOD);
  verify(mockHttpURLConnection).disconnect();
}