'Iterating over L{_InputStream} produces lines from the input stream.'

def test_iterable(self):

    bytes = 'green    eggs\nand    ham\n'
    d = self._renderAndReturnReaderResult((lambda input: list(input)), bytes)
    d.addCallback(self.assertEqual, ['green    eggs\n', 'and    ham\n'])
    return d
