@Test
public void put() throws Exception {

  Request body = putBuilder()
      .path("/put")
      .body("body");
  assertThat(getPath(body), is("/put"));
  assertThat(getBody(body), is(Optional.of("body")));
  assertThat(type.apply(body), is("PUT"));
}