@Test
void putRequestBeanWithPost() {

    var request = new HTTPRequest(HTTPMethod.POST, "/");
    var requestBean = new TestWebService.TestRequest();
    requestBean.stringField = "123value";
    webServiceClient.putRequestBean(request, TestWebService.TestRequest.class, requestBean);
    assertThat(new String(request.body, UTF_8)).isEqualTo(JSON.toJSON(requestBean));
    assertThat(request.contentType).isEqualTo(ContentType.APPLICATION_JSON);
}