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

def test_sendCommandNoCommand(self):

    error = self.assertRaises(ValueError, self.p.sendCommand, None, (u'param1', u'param2'))
    self.assertEqual(error.args[0], 'IRC    message    requires    a    command.')
