@Test
public void getSegments() {

    assertThat(sut.getSegments().keySet()).hasSize(0);
    final StartedTimer testSegment = sut.startNewSegment("TEST");
    final Map<String, StartedTimer> segments = sut.getSegments();
    assertThat(segments).hasSize(1);
    assertThat(segments.get("TEST")).isEqualTo(testSegment);
}