def METHOD_NAME(self):
    callback = CallbackMock(result=42)
    runner = launcher.Launcher(prog="prog")
    command = launcher.LauncherCommand("foo", function=callback)
    runner.add_command(command=command)
    status = runner.execute(["prog", "--help", "foo"])
    self.assertEqual(status, 42)
    self.assertEqual(callback._execute_argv, ["prog foo", "--help"])
    self.assertEqual(callback._execute_count, 1)