def METHOD_NAME(self):
    register_args = self.session.register.call_args_list
    self.assertEqual(register_args[0][0][0], 'calling-command.*')
    self.assertEqual(register_args[0][0][1],
                     self.argument.generate_json_skeleton)