@Test
public void patternGetEntries() throws MalformedObjectNameException {

    store.configure(new HistoryKey("java.lang:*", "HeapMemoryUsage", null, null), new HistoryLimit(3, 0L));
    JmxReadRequest req =
            new JmxRequestBuilder(READ,"java.lang:type=Memory")
                    .attribute("HeapMemoryUsage")
                    .build();
    JSONArray history = updateNTimesAsList(req, 5, 4711);
    assertEquals(history.size(), 3);
}