    @Test
    public void testDoPost() throws Exception {

        stubFor(post(urlEqualTo("/test"))
                .withHeader(ACCEPT, equalTo(accept))
                .withHeader(CONTENT_TYPE, equalTo(type))
                .withHeader("foo", equalTo(map.get("foo")))
                .withHeader("dead", equalTo(map.get("dead")))
                .willReturn(aResponse().withStatus(ORDINAL_200_OK)));

        ClientResponse response = httpCallsImpl.doPost(url, null, ClientResponse.class, map, null, accept, type,
                ORDINAL_200_OK);

        assertThat(response.getStatus(), is(ORDINAL_200_OK));
    }