@Test
void shouldZoomInToGazeMetrics() {

    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));
    // These assertions are a bit rubbish - need to find a way to set the parent bounds.
    assertEquals(0, imageView.getTranslateX());
    assertEquals(0, imageView.getTranslateY());
}