@Test
void shouldCreateThemeChooserNonDefault() {

    StringProperty cssFileProperty = new SimpleStringProperty("builtin:BLUE");
    ObservableList<String> stylesheets = FXCollections.observableArrayList();
    Scene mockScene = mock(Scene.class);
    when(mockConfig.getCssFile()).thenReturn("builtin:BLUE");
    when(mockConfig.getCssfileProperty()).thenReturn(cssFileProperty);
    when(mockContext.getGazePlay()).thenReturn(mockGazePlay);
    when(mockGazePlay.getPrimaryScene()).thenReturn(mockScene);
    when(mockScene.getStylesheets()).thenReturn(stylesheets);
    ChoiceBox<BuiltInUiTheme> result = ConfigurationContext.buildStyleThemeChooser(mockConfig, mockContext);
    assertEquals(BuiltInUiTheme.values().length, result.getItems().size());
    assertEquals(BuiltInUiTheme.BLUE, result.getValue());
    assertEquals(cssFileProperty.getValue(), "builtin:BLUE");
    result.setValue(BuiltInUiTheme.GREEN);
    assertEquals(BuiltInUiTheme.GREEN, result.getValue());
    assertEquals(cssFileProperty.getValue(), "builtin:GREEN");
}