'Calling L{_InputStream.readline} with no argument returns one line from
the input stream.'

def test_readline(self):

    bytes = 'hello\nworld'
    d = self._renderAndReturnReaderResult((lambda input: input.readline()), bytes)
    d.addCallback(self.assertEqual, 'hello\n')
    return d
