'L{TuntapPort.stopListening} calls C{doStop} on the protocol the port
was initialized with.'

def test_stopListeningStopsProtocol(self):

    self.port.startListening()
    self._stopPort(self.port)
    self.assertIsNone(self.protocol.transport)
