@Test
void shouldBuildHeatMapOpacityChoiceBox() throws InterruptedException {

    Platform.runLater(() -> {
        ConfigurationContext context = new ConfigurationContext(mockGazePlay);
        DoubleProperty heatMapProperty = new SimpleDoubleProperty(1);
        when(mockConfig.getHeatMapOpacityProperty()).thenReturn(heatMapProperty);
        when(mockConfig.getHeatMapOpacity()).thenReturn(heatMapProperty.getValue());
        ChoiceBox<Double> result = context.buildHeatMapOpacityChoiceBox(mockConfig);
        assertEquals(11, result.getItems().size());
        result.setValue(0.2);
        assertEquals(0.2, heatMapProperty.getValue());
    });
    TestingUtils.waitForRunLater();
}