def METHOD_NAME(self, aggregator, dd_run_check, mock_http_response):
    mock_http_response(
        """
        # HELP go_memstats_alloc_bytes Number of bytes allocated and still in use.
        # TYPE go_memstats_alloc_bytes gauge
        go_memstats_alloc_bytes{foo="bar",baz="foo",pod="test"} 1
        # HELP go_memstats_gc_sys_bytes Number of bytes used for garbage collection system metadata.
        # TYPE go_memstats_gc_sys_bytes gauge
        go_memstats_gc_sys_bytes{bar="foo",baz="foo"} 901120
        # HELP go_memstats_free_bytes Number of bytes free and available for use.
        # TYPE go_memstats_free_bytes gauge
        go_memstats_free_bytes{bar="baz",baz="bar"} 6.396288e+06
        """
    )
    check = get_legacy_check(
        {
            'metrics': ['*'],
            'label_joins': {'go_memstats_alloc_bytes': {'labels_to_match': ['baz'], 'labels_to_get': ['pod']}},
        }
    )
    dd_run_check(check)
    aggregator.assert_metric(
        'test.go_memstats_alloc_bytes',
        1,
        metric_type=aggregator.GAUGE,
        tags=['endpoint:test', 'foo:bar', 'baz:foo', 'pod:test'],
    )
    aggregator.assert_metric(
        'test.go_memstats_gc_sys_bytes',
        901120,
        metric_type=aggregator.GAUGE,
        tags=['endpoint:test', 'bar:foo', 'baz:foo', 'pod:test'],
    )
    aggregator.assert_metric(
        'test.go_memstats_free_bytes',
        6396288,
        metric_type=aggregator.GAUGE,
        tags=['endpoint:test', 'bar:baz', 'baz:bar'],
    )
    aggregator.assert_all_metrics_covered()