@Test
public void schedulerStartStop() throws InterruptedException {
ReportScheduler scheduler = new ReportScheduler(new MetricRegistry(), new ConsoleReporter());
scheduler.start(1, TimeUnit.SECONDS);
Thread.sleep(2000);
scheduler.stop();
}
private void runReport(Reporter reporter) {
MetricRegistry metricRegistry = new MetricRegistry();
MockClock clock = new MockClock();