@Test
public void simplePostWithPath() {

    Map<String,Object> reqMap = createMap(
            "type","read",
            "mbean","java.lang:type=Memory",
            "attribute","HeapMemoryUsage",
            "path","blub!/bla/hello");
    JmxReadRequest req = JmxRequestFactory.createPostRequest(reqMap, procParams);
    List<String> path = req.getPathParts();
    assertEquals(path.size(),2);
    assertEquals(path.get(0),"blub/bla");
    assertEquals(path.get(1),"hello");
    assertEquals(req.getPath(),"blub!/bla/hello");
}