def METHOD_NAME(cache_mongo_resource: CacheMongoResource) -> None:
    RESPONSES_IN_CACHE_TOTAL.clear()
    cache_metric = {
        "kind": "dummy",
        "http_status": HTTPStatus.OK,
        "error_code": None,
        "total": 1,
    }
    collection = CacheTotalMetricDocument._get_collection()
    collection.insert_one(cache_metric)
    metrics = get_metrics()
    assert (
        metrics.forge_metric_key(
            name="responses_in_cache_total",
            content={"error_code": "None", "http_status": "200", "kind": "dummy"},
        )
        not in metrics.metrics
    )
    update_responses_in_cache_total()
    metrics = get_metrics()
    assert (
        metrics.forge_metric_key(
            name="responses_in_cache_total",
            content={"error_code": "None", "http_status": "200", "kind": "dummy"},
        )
        in metrics.metrics
    )