@Test
public void singleAttributeRead() throws Exception {

    JmxReadRequest req =
            new JmxRequestBuilder(READ,"test:type=read")
                    .attribute("attr")
                    .build();
    store.configure(new HistoryKey(req), new HistoryLimit(3, 0L));
    /** 3 fresh updates yield 2 history entries returned (and 3 stored) */
    assertEquals("2 history entries",2,updateNTimesAsList(req,3,"42").size());
}