public void test_templated_02() throws IOException, SAXException {
Smooks smooks = new Smooks(getClass().getResourceAsStream("scripted-02.xml"));
StringResult result = new StringResult();
try {
smooks.filterSource(new StringSource("<a><b><c/></b></a>"), result);
fail("Expected SmooksException.");
} catch(SmooksException e) {
assertEquals("Unable to filter InputStream for target profile [org.milyn.profile.Profile#default_profile].", e.getMessage());
}
}