def METHOD_NAME(mocker):
    query = mocker.patch.object(queries, "get_service_monitoring_endpoints")
    query.return_value = get_endpoint_fixtures("test_invalid_endpoints.yaml")
    endpoints = get_endpoints(BLACKBOX_EXPORTER_PROVIDER)
    assert len(endpoints) == 0