@Test
void shouldBuildEyeTrackerChooser() {

    StringProperty eyeTrackerProperty = new SimpleStringProperty("mouse_control");
    when(mockConfig.getEyeTracker()).thenReturn(eyeTrackerProperty.getValue());
    when(mockConfig.getEyetrackerProperty()).thenReturn(eyeTrackerProperty);
    ChoiceBox<EyeTracker> result = ConfigurationContext.buildEyeTrackerConfigChooser(mockConfig);
    assertEquals(3, result.getItems().size());
    result.setValue(EyeTracker.eyetribe);
    assertEquals("eyetribe", eyeTrackerProperty.getValue());
}