@Test
public void testRequestWithBody() {

  final Request request = FutureOkHttpClient.forUri(URI, "POST", Arrays.asList(1, 2, 3));
  assertThat(request.url(), is(URI));
  assertThat(request.method(), is("POST"));
  assertThat(bytesOfRequestBody(request), is(ByteString.encodeUtf8("[1,2,3]")));
}