'Specifying a C{length} value to L{IRCClient.msg} that is too short to
contain the protocol command to send a message raises C{ValueError}.'

def test_invalidMaxLength(self):

    self.assertRaises(ValueError, self.client.msg, 'foo', 'bar', 0)
    self.assertRaises(ValueError, self.client.msg, 'foo', 'bar', 3)
