@Test
void shouldBuildLineChartForShootingGame() {

    final List<Long> mockShots = new ArrayList<>(List.of(1L, 2L, 3L));
    when(mockShootStats.getSortedDurationsBetweenGoals()).thenReturn(mockShots);
    when(mockShootStats.computeRoundsDurationStandardDeviation()).thenReturn(0d);
    when(mockShootStats.computeRoundsDurationAverageDuration()).thenReturn(2L);
    final LineChart<String, Number> lineChart = StatDisplayUtils.buildLineChart(mockShootStats, mockRegion);
    assertEquals(4, lineChart.getData().size());
    assertEquals(5, lineChart.getData().get(0).getData().size());
    assertEquals(5, lineChart.getData().get(1).getData().size());
    assertEquals(5, lineChart.getData().get(2).getData().size());
    assertEquals(3, lineChart.getData().get(3).getData().size());
}