@Test
void shouldBuildGameButtonOrientationChooser() {

    StringProperty buttonOrientationProperty = new SimpleStringProperty("HORIZONTAL");
    when(mockConfig.getMenuButtonsOrientationProperty()).thenReturn(buttonOrientationProperty);
    when(mockConfig.getMenuButtonsOrientation()).thenReturn(buttonOrientationProperty.getValue());
    ChoiceBox<GameButtonOrientation> result = ConfigurationContext.buildGameButtonOrientationChooser(mockConfig);
    assertEquals(2, result.getItems().size());
    result.setValue(GameButtonOrientation.VERTICAL);
    assertEquals("VERTICAL", buttonOrientationProperty.getValue());
}