def METHOD_NAME(self, wrong_oauth_config_bad_credentials_record):
    try:
        initialize_authenticator(config=wrong_oauth_config_bad_credentials_record)
    except Exception as e:
        assert e.args[0] == "Config validation error. `credentials` not specified."