code: def test_get_job_spec_with_default_with_custom_config(
      self, mock_validate, mock_create_request, mock_super_tuner
  ):
      remote_tuner = self._remote_tuner(None, None, self._study_config)
  
      replica_config = machine_config.COMMON_MACHINE_CONFIGS["K80_1X"]
      replica_count = 2
  
      remote_tuner._replica_config = replica_config
      remote_tuner._replica_count = replica_count
  
      # Expected worker configuration based on replica setting
      worker_count = 1
      worker_config = replica_config
  
      remote_tuner._get_job_spec_from_config(self._job_id)
  
      mock_validate.assert_called_with(
          chief_config=replica_config,
          worker_count=worker_count,
          worker_config=worker_config,
          docker_parent_image=remote_tuner._container_uri,
      )
  
      mock_create_request.assert_called_with(
          job_id=self._job_id,
          region=remote_tuner._region,
          image_uri=remote_tuner._container_uri,
          chief_config=replica_config,
          worker_count=worker_count,
          worker_config=replica_config,
          entry_point_args=None,
          job_labels=None,
          service_account=None,
      )
  
imports: import os
  import time
  from keras_tuner.engine import hypermodel
  from keras_tuner.engine import hyperparameters
  from keras_tuner.engine import oracle
  from keras_tuner.engine import trial
  from keras_tuner.engine import tuner
  import mock
  import tensorflow
  from tensorboard.plugins.hparams import api
  from tensorflow_cloud.core import deploy
  from tensorflow_cloud.core import machine_config
  from tensorflow_cloud.core import validate
  from tensorflow_cloud.tuner import cloud_fit_client
  from tensorflow_cloud.tuner import tuner
  from tensorflow_cloud.tuner.tuner import vizier_client
  from tensorflow_cloud.utils import google_api_client
  from tensorflow_cloud.utils import tf_utils
label_desc: Use image node_id 36 for calling the CloudTunerTest obj's underlying member method code with example usage: obj.test_get_job_spec_with_default_with_custom_config(mock_validate, mock_create_request, mock_super_tuner) without return types