def METHOD_NAME(
    dd_run_check, aggregator, mock_data, gitlab_check, get_config
):
    check = gitlab_check(get_config(True))
    # Manually init the check
    check.parse_config()
    mocked_response = MagicMock()
    mocked_response.json.raiseError.side_effect = Exception()
    check.parse_readiness_service_checks(mocked_response)
    mocked_response.json.assert_called_once()
    for service_check in check.READINESS_SERVICE_CHECKS.values():
        aggregator.assert_service_check(
            'gitlab.readiness.{}'.format(service_check), status=AgentCheck.UNKNOWN, tags=GITLAB_TAGS + CUSTOM_TAGS
        )
    assert len(aggregator.service_check_names) == 13