'C{reactor.addReader()} accepts an L{IReadDescriptor} provider and calls
its C{doRead} method when there may be data available on its C{fileno}.'

def test_addReader(self):

    (reactor, fd, server) = self._simpleSetup()
    def removeAndStop():
        reactor.removeReader(fd)
        reactor.stop()
    fd.doRead = removeAndStop
    reactor.addReader(fd)
    server.sendall('x')
    self.runReactor(reactor)
