@Test(expected = IllegalStateException.class)
public void testFailOnRequiredValueMissing() throws Exception {

	final ConfigurationOption<String> configurationOption = ConfigurationOption.stringOption().key("foo").buildRequired();
	final ConfigurationOptionProvider optionProvider = TestConfigurationOptionProvider.of(configurationOption);
	ConfigurationRegistry.builder().addOptionProvider(optionProvider).failOnMissingRequiredValues(true).build();
}