@Test
public void singlePost() throws IOException, InstanceNotFoundException, ReflectionException, AttributeNotFoundException, MBeanException {

    JSONObject resp = new JSONObject();
    expect(backend.handleRequest(isA(JmxReadRequest.class))).andReturn(resp);
    replay(backend);
    InputStream is = HttpTestUtil.createServletInputStream(HttpTestUtil.HEAP_MEMORY_POST_REQUEST);
    JSONObject response = (JSONObject) handler.handlePostRequest("/jolokia",is,"utf-8",null);
    assertTrue(response == resp);
}