ConfigurationBuilder<? extends Configuration> builder =
createProvider().getConfigurationBuilder(decl);
Configuration config = builder.getConfiguration();
assertEquals("Wrong configuration class",
PropertiesConfiguration.class, config.getClass());
PropertiesConfiguration pconfig = (PropertiesConfiguration) config;
assertTrue("Wrong exception flag",
pconfig.isThrowExceptionOnMissing());
DefaultListDelimiterHandler listHandler =
(DefaultListDelimiterHandler) pconfig.getListDelimiterHandler();
assertEquals("Wrong list delimiter", ';', listHandler.getDelimiter());
assertTrue("Configuration not loaded",
pconfig.getBoolean("configuration.loaded"));
return builder;
}