@Test
public void testTimeCallable()
        throws Exception
{

    SparseTimeStat stat = new SparseTimeStat(ticker);
    stat.setBucketIdProvider(bucketIdProvider);
    stat.time(() -> {
        ticker.elapseTime(10, TimeUnit.MILLISECONDS);
        return null;
    });
    ++bucketIdProvider.id;
    assertPreviousDistribution(stat, 1, 0.010, 0.010, 0.010);
}