def METHOD_NAME(mocker):
    ep_query = mocker.patch.object(queries, "get_service_monitoring_endpoints")
    ep_query.return_value = get_endpoint_fixtures("test_blackbox_probe_building.yaml")
    endpoints = get_endpoints(BLACKBOX_EXPORTER_PROVIDER)
    assert len(endpoints) == 1
    provider = list(endpoints.keys())[0]
    provider_endpoints = endpoints.get(provider)
    assert provider_endpoints is not None
    probe_resource = blackbox_exporter_probe_builder(provider, provider_endpoints)
    assert probe_resource is not None
    # verify prober url decomposition
    spec = probe_resource.body.get("spec")
    assert spec.get("prober") == {
        "url": "exporterhost:9115",
        "scheme": "http",
        "path": "/probe",
    }
    # verify labels
    labels = spec["targets"]["staticConfig"]["labels"]
    assert labels.get("environment") == "staging"
    # verify timeout and interval
    assert spec["scrapeTimeout"] == provider.timeout
    assert spec["interval"] == provider.checkInterval
    # verify targets
    assert "https://test1.url" in spec["targets"]["staticConfig"]["static"]
    assert "https://test2.url" in spec["targets"]["staticConfig"]["static"]