def METHOD_NAME(
    task_runner: FingerprintTaskRunner, data_source, mocker
):
    """Test FingerprintTaskRunner.process_facts_for_datasource."""
    mocker.patch.object(
        task_runner, "_add_fact_to_fingerprint", side_effect=RuntimeError("STOP!!!")
    )
    # if the appropriate method is implemented, our error shall be raised.
    with pytest.raises(RuntimeError, match="STOP!!!"):
        task_runner.process_facts_for_datasource(data_source, {}, {})