_impl = new DigesterFacesConfigUnmarshallerImpl(null);
}
public void testEmptyConfig() throws Exception
{
FacesConfig cfg = _impl.getFacesConfig(getClass().getResourceAsStream(
"empty-config.xml"), "empty-config.xml");
assertNotNull(cfg);
assertTrue(cfg.getApplications().isEmpty());
assertTrue(cfg.getComponents().isEmpty());
assertTrue(cfg.getConverters().isEmpty());
assertTrue(cfg.getFactories().isEmpty());
assertTrue(cfg.getLifecyclePhaseListener().isEmpty());
assertTrue(cfg.getManagedBeans().isEmpty());
assertTrue(cfg.getNavigationRules().isEmpty());
assertTrue(cfg.getRenderKits().isEmpty());
assertTrue(cfg.getValidators().isEmpty());
}