'L{TuntapPort.stopListening} returns a L{Deferred} which fires after the
port has been removed from the reactor\'s reader list by passing it to
the reactor\'s C{removeReader} method.'

def test_stopListeningStopsReading(self):

    self.port.startListening()
    fileno = self.port.fileno()
    self._stopPort(self.port)
    self.assertNotIn(fileno, self.system._openFiles)
