def METHOD_NAME(mock_app_run, expected_arguments, spec_file, monkeypatch):
    logging_config = MagicMock(name="connexion.cli.logging.basicConfig")
    monkeypatch.setattr("connexion.cli.logging.basicConfig", logging_config)
    runner = CliRunner()
    runner.invoke(main, ["run", spec_file, "-v"], catch_exceptions=False)
    logging_config.assert_called_with(level=logging.INFO)
    mock_app_run.assert_called_with("connexion.cli", **expected_arguments)