docstr: tests `init` method to validate client creation when all parameters are passed
docstr_tok: ["tests","`","init","`","method","to","validate","client","creation","when","all","parameters","are","passed"]
code: def test_client_created_without_exceptions(
      self, get_credentials_mock, get_connection_mock
  ):
      """tests `init` method to validate client creation when all parameters are passed"""
  
      # Inputs to constructor
      default_folder_id = "test_id"
      default_public_ssh_key = "test_key"
  
      extra_dejson = '{"extras": "extra"}'
      get_connection_mock["extra_dejson"] = "sdsd"
      get_connection_mock.extra_dejson = '{"extras": "extra"}'
      get_connection_mock.return_value = mock.Mock(
          connection_id="yandexcloud_default", extra_dejson=extra_dejson
      )
      get_credentials_mock.return_value = {"token": 122323}
  
      hook = YandexCloudBaseHook(
          yandex_conn_id=None,
          default_folder_id=default_folder_id,
          default_public_ssh_key=default_public_ssh_key,
      )
      assert hook.client is not None
  
file_path: airflow/tests/providers/yandex/hooks/test_yandex.py
imports: from __future__ import annotations
  import os
  from unittest import mock
  from unittest.mock import MagicMock, patch
  import pytest
  from airflow.exceptions import AirflowException
  from airflow.providers.yandex.hooks.yandex import YandexCloudBaseHook
  from tests.test_utils.config import conf_vars
label_desc: Use image node_id 1 for calling the TestYandexHook obj's underlying member method code with example usage: obj.test_client_created_without_exceptions(get_credentials_mock, get_connection_mock) without return types