'IRC TOPIC command changes the topic of an IRC channel.'

def test_topic(self):

    self.proto.makeConnection(self.transport)
    self.proto.dataReceived(':alice1    JOIN    #group1\r\n')
    self.proto.dataReceived(':alice1    TOPIC    #group1    newtopic\r\n')
    groupConversation = self.proto.getGroupConversation('group1')
    self.assertEqual(groupConversation.topic, 'newtopic')
    self.assertEqual(groupConversation.topicSetBy, 'alice1')
