*/
public class DefaultSerializationTest extends TestCase {
public void test_default_writing_off_no_serializers() throws IOException, SAXException {
Smooks smooks = new Smooks(getClass().getResourceAsStream("DefaultWritingOff_No_Serializers_Test.xml"));
StringSource stringSource = new StringSource("<a>aa<b>bbb<c />bbb</b>aaa</a>");
StringResult stringResult = new StringResult();
smooks.filterSource(smooks.createExecutionContext(), stringSource, stringResult);
// The "default.serialization.on" global param is set to "false" in the config, so
// nothing should get writen to the result because there are no configured
// serialization Visitors.
assertEquals("", stringResult.getResult());