'Passing no arguments to modes that do take parameters results in
L{IRCClient.modeChange} not being called and an error being logged.'

def test_tooFewModeParameters(self):

    self._sendModeChange('+o')
    self._checkModeChange([])
    errors = self.flushLoggedErrors(irc.IRCBadModes)
    self.assertEqual(len(errors), 1)
    self.assertSubstring('Not    enough    parameters', errors[0].getErrorMessage())
