@Before
public void setUp() throws Exception {
StatsProvider statsProvider = createMock(StatsProvider.class);
StatsProvider untracked = createMock(StatsProvider.class);
MetricCalculatorSettings settings = new MetricCalculatorSettings(10000);
storageUtil = new StorageTestUtil(this);
calculator = new MetricCalculator(storageUtil.storage, clock, settings, statsProvider);
expect(statsProvider.untracked()).andReturn(untracked).anyTimes();
expect(untracked.makeGauge(EasyMock.anyString(), EasyMock.<Supplier<Number>>anyObject()))
.andReturn(EasyMock.<Stat<Number>>anyObject())