test_with_empty_nodes_not_ignored(FilterSettings.DEFAULT_SAX);
}
public void test_with_empty_nodes_not_ignored(FilterSettings filterSettings) throws IOException, SAXException {
Smooks smooks = new Smooks("/org/milyn/smooks/edi/unedifact/smooks-config-xml-not-ignored.xml");
StringResult result = new StringResult();
smooks.setFilterSettings(filterSettings);
smooks.filterSource(new StreamSource(getClass().getResourceAsStream("unedifact-msg-01-with-empty-nodes.edi")), result);
// System.out.println(result);
XMLUnit.setIgnoreWhitespace( true );
XMLAssert.assertXMLEqual(new InputStreamReader(getClass().getResourceAsStream("unedifact-msg-expected-01-with-empty-nodes-not-ignored.xml")), new StringReader(result.toString()));
}