@Test
public void noAttributesRead() throws Exception {

    String mbean = "test:type=read";
    JmxReadRequest req =
            new JmxRequestBuilder(READ,mbean)
                    .build();
    store.configure(new HistoryKey(mbean,"attr1",null,null), new HistoryLimit(4, 0L));
    store.configure(new HistoryKey(mbean,"attr2",null,null), new HistoryLimit(5, 0L));
    Map value = new HashMap();
    value.put("attr1","val1");
    value.put("attr2","val2");
    JSONObject history = updateNTimesAsMap(req,5,value);
    assertEquals("Attr1 has 3 entries",4,((List) history.get("attr1")).size());
    assertEquals("Attr2 has 4 entries",4,((List) history.get("attr2")).size());
}