assertEquals("MALFORMED_URL_PROPERTY", ex.getCode());
}
}
public void testNoBeanDefinitionsFile() {
Configuration top = new TopConfigurationBuilder().build("top");
List<ConfigurationProvider> providers = top.getProviders();
assertEquals(1, providers.size());
assertTrue(providers.get(0) instanceof ConfigurationProviderImpl);
ConfigurationProviderImpl cpi = (ConfigurationProviderImpl)providers.get(0);
assertNull(cpi.getBean());