def METHOD_NAME(
    mock_decision_function,
    X_y_binary,
    logistic_regression_binary_pipeline,
):
    X, y = X_y_binary
    binary_pipeline = logistic_regression_binary_pipeline
    mock_decision_function.return_value = pd.Series([0] * 100)
    binary_pipeline.threshold = 0.7
    binary_pipeline.fit(X, y)
    fraud_cost = FraudCost(amount_col=0)
    binary_pipeline.score(X, y, ["precision", "auc", fraud_cost])
    mock_decision_function.assert_called()