@Test
public void post() throws Exception {

  Request body = RequestBuilders.postBuilder()
      .path("/post")
      .body("body");
  assertThat(getPath(body), is("/post"));
  assertThat(getBody(body), is(Optional.of("body")));
  assertThat(type.apply(body), is("POST"));
}