@Test
void shouldBuildAreaChartWithPoints() {

    final LinkedList<FixationPoint> mockPoints = new LinkedList<>(List.of(
        new FixationPoint(50, 50, 1, 2),
        new FixationPoint(100, 100, 2, 3),
        new FixationPoint(150, 150, 4, 5)
    ));
    final AreaChart<Number, Number> areaChart = StatDisplayUtils.buildAreaChart(mockPoints, mockRegion);
    assertEquals(2, areaChart.getData().size());
    assertEquals(3, areaChart.getData().get(0).getData().size());
    assertEquals("X coordinate", areaChart.getData().get(0).getName());
    assertEquals(3, areaChart.getData().get(1).getData().size());
    assertEquals("Y coordinate", areaChart.getData().get(1).getName());
}