'L{reactor.removeWriter()} accepts an L{IWriteDescriptor} provider
previously passed to C{reactor.addWriter()} and causes it to no longer
be monitored for outputability.'

def test_removeWriter(self):

    (reactor, fd, server) = self._simpleSetup()
    def fail():
        self.fail('doWrite    should    not    be    called')
    fd.doWrite = fail
    reactor.addWriter(fd)
    reactor.removeWriter(fd)
    reactor.callLater(0, reactor.callLater, 0, reactor.stop)
    self.runReactor(reactor)
