def METHOD_NAME(self):
    fake = FakeLock()
    lock = MeteredLock(fake, "test")
    with patch("corehq.util.metrics.lockmeter.tracer") as tracer:
        lock.acquire()
    self.assertListEqual(tracer.mock_calls, [
        call.trace("commcare.lock.acquire", resource="key"),
        call.trace().__enter__(),
        call.trace().__enter__().set_tags({
            "key": "key",
            "name": "test",
            "acquired": "true",
        }),
        call.trace().__exit__(None, None, None),
        call.trace("commcare.lock.locked", resource="key"),
        call.trace().set_tags({"key": "key", "name": "test"}),
    ])