def test_sendMessage(self):
        self.ircUser.irc_NICK("", ["mynick"])
        self.stringTransport.clear()
        self.ircUser.sendMessage("foo")
        self.assertEquals(":example.com foo mynick\r\n",
                          self.stringTransport.value())
Sending a message to a user after they have sent NICK, but before they
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/words/test/test_irc_service.py/IRCUserTestCase.test_sendMessage