@Test
void shouldZoomInToLineChart() {

    final List<Long> mockShots = new ArrayList<>(List.of(1L, 2L, 3L));
    when(mockStats.getOriginalDurationsBetweenGoals()).thenReturn(mockShots);
    when(mockStats.computeRoundsDurationStandardDeviation()).thenReturn(0d);
    when(mockStats.computeRoundsDurationAverageDuration()).thenReturn(2L);
    final LineChart<String, Number> lineChart = StatDisplayUtils.buildLineChart(mockStats, mockRegion);
    final VBox parent = new VBox();
    parent.getChildren().add(lineChart);
    lineChart.fireEvent(mouseClickEvent(lineChart));
    // These assertions are a bit rubbish - need to find a way to set the parent bounds.
    assertEquals(0, lineChart.getTranslateX());
    assertEquals(0, lineChart.getTranslateY());
}