public void test_selection() throws IOException, SAXException {
Smooks smooks = new Smooks(getClass().getResourceAsStream("smooks-config-02.xml"));
ExecutionContext execContext = smooks.createExecutionContext();
String input = new String(StreamUtils.readStream(getClass().getResourceAsStream("test-01.xml")));
smooks.filterSource(execContext, new StreamSource(new ByteArrayInputStream(input.getBytes())), null);
assertEquals("h", SAXVisitor01.element.getName().getLocalPart());
assertEquals("y", SAXVisitor01.element.getName().getPrefix());
assertEquals("http://y", SAXVisitor01.element.getName().getNamespaceURI());
assertEquals(0, SAXVisitor01.children.size());
assertEquals(0, SAXVisitor01.childText.size());