'L{irc.IRCClient.dcc_CHAT} invokes L{irc.IRCClient.dccDoChat}.'

def test_dccChat(self):

    self.client.dcc_CHAT(self.user, self.channel, 'foo.txt    127.0.0.1    1025')
    self.assertEqual(self.client.methods, [('dccDoChat', (self.user, self.channel, '127.0.0.1', 1025, ['foo.txt', '127.0.0.1', '1025']))])
