def METHOD_NAME(mocked_query, mocked_time, aggregator):
    integration = DNSCheck('dns_check', {}, [common.CONFIG_SUCCESS_NXDOMAIN])
    integration.check(common.CONFIG_SUCCESS_NXDOMAIN)
    tags = ['instance:nxdomain', 'nameserver:127.0.0.1', 'resolved_hostname:www.example.org', 'record_type:NXDOMAIN']
    aggregator.assert_service_check(DNSCheck.SERVICE_CHECK_NAME, status=DNSCheck.OK, tags=tags, count=1)
    aggregator.assert_metric('dns.response_time', tags=tags, count=1, value=1)
    # Assert coverage for this check on this instance
    aggregator.assert_all_metrics_covered()