TimeWindow sincStart = StatisticsCollector.SINCE_START;
TimeWindow[] windows = {sincStart, window};
Stat stat = collector.createStat("m1", windows);
stat.inc(3);
collector.update();
assertEquals(0, stat.getValues().get(window).getValue());
assertEquals(3, stat.getValues().get(sincStart).getValue());
stat.inc(3);