'L{reactor.removeReader()} accepts an L{IReadDescriptor} provider
previously passed to C{reactor.addReader()} and causes it to no longer
be monitored for input events.'

def test_removeReader(self):

    (reactor, fd, server) = self._simpleSetup()
    def fail():
        self.fail('doRead    should    not    be    called')
    fd.doRead = fail
    reactor.addReader(fd)
    reactor.removeReader(fd)
    server.sendall('x')
    reactor.callLater(0, reactor.callLater, 0, reactor.stop)
    self.runReactor(reactor)
