'A C{MODE} message whose target is our user (the nickname of our user,
to be precise), as opposed to a channel, will be parsed according to
the modes specified by L{IRCClient.getUserModeParams}.'

def test_userMode(self):

    target = self.client.nickname
    self._sendModeChange('+o', target=target)
    self._checkModeChange([(True, 'o', (None,))], target=target)
    def getUserModeParams():
        return ['Z', '']
    self.patch(self.client, 'getUserModeParams', getUserModeParams)
    self._sendModeChange('+Z', 'an_arg', target=target)
    self._checkModeChange([(True, 'Z', ('an_arg',))], target=target)
