'Passing an invalid string command to L{IRC.sendCommand} raises a
C{ValueError}.'

def test_sendCommandInvalidCommand(self):

    error = self.assertRaises(ValueError, self.p.sendCommand, u'    ', (u'param1', u'param2'))
    self.assertEqual(error.args[0], 'Invalid    command:    "    "')
