public void testCreateRequestHttpWriteToBody() throws Exception {
URI uri = new URI("http://" + HOST + ".test/logback.xml");
ClientHttpRequest request = resolvingFactory.createRequest(uri, HttpMethod.GET);
request.getBody().write(new byte[]{1,2,3});
ClientHttpResponse response = request.execute();
String actual = new String(ByteStreams.toByteArray(response.getBody()), Constants.DEFAULT_CHARSET);
String expected = Files.toString(logbackXml, Constants.DEFAULT_CHARSET);
assertEquals(expected, actual);
uri = logbackXml.toURI();