'Passing L{None} as the command to L{IRC.sendMessage} raises a
C{ValueError}.'

def test_sendMessageNoCommand(self):

    error = self.assertRaises(ValueError, self.p.sendMessage, None, 'param1', 'param2')
    self.assertEqual(str(error), 'IRC    message    requires    a    command.')
