@Test
public void simplePost() {

    Map<String,Object> reqMap = createMap(
            "type","read",
            "mbean","java.lang:type=Memory",
            "attribute","HeapMemoryUsage");
    JmxReadRequest req = JmxRequestFactory.createPostRequest(reqMap, procParams);
    assert req.getType() == RequestType.READ : "Type is read";
    assert req.getObjectName().getCanonicalName().equals("java.lang:type=Memory") : "Name properly parsed";
    assertEquals(req.getAttributeName(),"HeapMemoryUsage","Attribute parsed properly");
    assert req.getPathParts() == null : "PathParts are null";
    assert req.getPath() == null : "Path is null";
}