@Test
public void shouldProvideStatisticsImmediatelyAfterStartup() throws Exception {

    History history = repository.getRepositoryStatistics()
                                .getHistory(ValueMetric.WORKSPACE_COUNT, Window.PREVIOUS_60_SECONDS);
    Statistics[] stats = history.getStats();
    assertThat(stats.length, is(not(0)));
    assertThat(history.getTotalDuration(TimeUnit.SECONDS), is(60L));
    System.out.println(history);
}