@Test
public void readRequestForAll() throws MalformedObjectNameException {

    JmxReadRequest req = new JmxRequestBuilder(READ,"test:type=blub")
            .build();
    HistoryKey key = new HistoryKey(req);
    assertTrue(key.toString().contains("attribute"));
    assertTrue(key.toString().contains("(all)"));
    assertTrue(key.toString().contains("test:type=blub"));
}