@Test
public void prepareRequestCreatesPostRequest() throws IOException {

    // given
    Bulk bulk = createDefaultTestBufferedBulk();
    // when
    BufferedJestHttpClient client = createDefaultTestHttpClient();
    HttpUriRequest request = client.prepareRequest((BufferedBulk) bulk);
    // then
    Assert.assertEquals("POST", request.getRequestLine().getMethod());
}