def METHOD_NAME(aggregator):
    check = VespaCheck("vespa", {}, {})
    with open(os.path.join(HERE, 'no_services_object.json'), 'r') as f:
        check._get_metrics_json = MagicMock(return_value=json.load(f))
    check.check({'consumer': 'default'})
    aggregator.assert_service_check(
        check.METRICS_SERVICE_CHECK,
        VespaCheck.WARNING,
        count=1,
        message="No services in response from metrics proxy on " + check.URL + "?consumer=default",
    )