def METHOD_NAME(self, monkeypatch):
    datadog_obj = pretend.stub()
    datadog_cls = pretend.call_recorder(lambda **kw: datadog_obj)
    monkeypatch.setattr(services, "DogStatsd", datadog_cls)
    context = pretend.stub()
    request = pretend.stub(registry=pretend.stub(settings={}))
    metrics = DataDogMetrics.create_service(context, request)
    assert metrics._datadog is datadog_obj
    assert datadog_cls.calls == [
        pretend.call(host="127.0.0.1", port=8125, namespace=None, use_ms=True)
    ]