/*
* https://jira.jboss.org/jira/browse/WELD-362
*/
@Test
public void testNonPrettyPrintedXML() throws Exception {
createRunner("nonPrettyPrinted.xml").run(new Runnable() {
public void run(WeldManager beanManager) {
ModuleEnablement enabled = ((BeanManagerImpl) beanManager).getEnabled();
assertEquals(1, enabled.getAlternativeClasses().size());
assertEquals(Alt.class, enabled.getAlternativeClasses().iterator().next());