public void shouldPost() throws Exception {
String url = "/defect/12345";
String body = "{}";
doReturn("").when(client).doRequest(any(HttpPost.class));
client.doPost(url, body);
verify(client).doRequest(argThat(new HttpRequestBodyMatcher(client.getWsapiUrl() + url, body)));
}