@Test
void shouldZoomOutOfGazeMetrics() {

    final File mockFile = new File("bear.jpg");
    final SavedStatsInfo mockSavedStatsInfo = new SavedStatsInfo(mockFile, mockFile, mockFile, mockFile, mockFile, mockFile);
    when(mockStats.getSavedStatsInfo()).thenReturn(mockSavedStatsInfo);
    final ImageView imageView = StatDisplayUtils.buildGazeMetrics(mockStats, mockRegion);
    final VBox parent = new VBox();
    parent.getChildren().add(imageView);
    imageView.fireEvent(mouseClickEvent(imageView));
    imageView.fireEvent(mouseClickEvent(imageView));
    assertEquals(1, imageView.getScaleX());
    assertEquals(1, imageView.getScaleY());
}