Repository.INSTANCE.clearCounters();
}
@Test
public void counterStore() {
final Counter.Key key = new Counter.Key(new Role("r", Unit.UNARY), "n");
// note: the input data are maybe not that consistent (min > max) but this test just checks computations
final CollectorCounterStore store = new InMemoryCollectorCounterStore();
store.update(key, "client1", new M2AwareStatisticalSummary(1, 2, 5, 0, 10, 6, 7), 4);
store.update(key, "client2", new M2AwareStatisticalSummary(2, 4, 8, 1, 15, 9, 5), 2);