code: def test_get_tensorboard_log_watcher_from_path_with_dir_path(
      self,
      mock_directorywatcher,
      mock_eventfileloader,
      mock_issummaryeventsfile,
  ):
      mock_issummaryeventsfile.return_value = False
      tf_utils.get_tensorboard_log_watcher_from_path(self._dir_path)
      mock_eventfileloader.assert_not_called()
      mock_directorywatcher.assert_called_with(
          self._dir_path, mock_eventfileloader, mock_issummaryeventsfile
      )
  
file_path: cloud/src/python/tensorflow_cloud/utils/tests/unit/tf_utils_test.py
imports: import mock
  import tensorflow
  from tensorboard.backend.event_processing import directory_watcher
  from tensorboard.backend.event_processing import event_file_loader
  from tensorboard.backend.event_processing import io_wrapper
  from tensorflow_cloud.utils import tf_utils
label_desc: Use image node_id 4 for calling the TFUtilsTest obj's underlying member method code with example usage: obj.test_get_tensorboard_log_watcher_from_path_with_dir_path(mock_directorywatcher, mock_eventfileloader, mock_issummaryeventsfile) without return types