@Test(expectedExceptions = IllegalArgumentException.class)
public void invalidJson() throws IOException {

    replay(backend);
    InputStream is = HttpTestUtil.createServletInputStream("{ bla;");
    handler.handlePostRequest("/jolokia",is,"utf-8",null);
}