def test_startedListeningLogMessage(self):
        loggedMessages = self.observe()
        reactor = self.buildReactor()
        class SomeProtocol(DatagramProtocol):
            implements(ILoggingContext)
            def logPrefix(self):
                return "Crazy Protocol"
        protocol = SomeProtocol()
        p = self.getListeningPort(reactor, protocol)
        expectedMessage = self.getExpectedStartListeningLogMessage(
            p, "Crazy Protocol")
        self.assertEqual((expectedMessage,), loggedMessages[0]['message'])
When a port starts, a message including a description of the associated
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/test/test_udp.py/DatagramTransportTestsMixin.test_startedListeningLogMessage