'Ensure SAX2DOM can parse from a stream.'

def test_basic(self):

    with io.StringIO(SMALL_SAMPLE) as fin:
        sd = SAX2DOMTestHelper(fin, xml.sax.make_parser(), len(SMALL_SAMPLE))
        for (evt, node) in sd:
            if ((evt == pulldom.START_ELEMENT) and (node.tagName == 'html')):
                break
        self.assertGreater(len(node.childNodes), 0)
