control.verify();
}
@Test
public void testCreateStatistics() throws Exception {
Statistic counter = strategy.createStatistic("counter", null, UpdateMode.COUNTER);
counter.updateValue(150L);
counter.updateValue(50L);
assertEquals(200L, counter.getValue());
Statistic value = strategy.createStatistic("value", null, UpdateMode.VALUE);
value.updateValue(150L);
value.updateValue(50L);
assertEquals(50L, value.getValue());
}