assertTrue(res.get("type=Memory") instanceof Map);
}
@Test
public void propertiesPath() throws Exception {
JmxListRequest request = new JmxRequestBuilder(RequestType.LIST).pathParts("java.lang","type=Memory").build();
Map res = execute(request);
for (String k : new String[] { "desc", "op", "attr"}) {
assertTrue(res.containsKey(k));
}
assertEquals(res.size(), 3);