def test_contactChangedNickHasConversation(self):
        self.ui.persons[self.person.name, self.person.account] = self.person
        conversation = basechat.Conversation(self.person, self.ui)
        self.ui.conversations[self.person] = conversation

        self.assertEqual(self.person.name, "foo")
        self.assertEqual(self.person.account, self.account)

        self.ui.contactChangedNick(self.person, "bar")
        self.assertEqual(self.person.name, "bar")
        self.assertEqual(self.person.account, self.account)
If an L{twisted.words.im.interfaces.IPerson} is in a
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/words/test/test_basechat.py/ChatUITests.test_contactChangedNickHasConversation