    @Test
    public void testNicoLiveSAXHandler() throws ParserConfigurationException, SAXException, IOException {

        SAXParser sax = SAXParserFactory.newInstance().newSAXParser();

        sax.parse(in, new NicoLiveSAXHandler() {
            @Override
            public void end(String uri, String localName, String qName) {
                if (qName.equals("elem")) {
                    assertThat(innerText(), is("content"));
                }
            }
        });
    }