* @throws IOException
* @throws ResourceException
*/
public void test() throws IOException, ResourceException {
client = new Client(Protocol.HTTP);
Request request = new Request(Method.GET, "http://localhost:8111/test");
Response response = client.handle(request);
assertEquals(Status.SUCCESS_OK, response.getStatus());
assertEquals("asText-txt", response.getEntity().getText());
response.getEntity().release();