code: def test_file_strategy_uploads_correct_path(self, mock_is_file, path):
      run = MagicMock()
      handler = MagicMock()
      run.__getitem__ = MagicMock()
      run.__getitem__.return_value = handler
      handler.upload = MagicMock()
  
      FileDependenciesStrategy(path=path).log_dependencies(run=run)
  
      handler.upload.assert_called_once_with(path)
  
file_path: neptune-client/tests/unit/neptune/new/internal/utils/test_dependency_tracking.py
imports: import itertools
  from unittest.mock import MagicMock, patch
  import pytest
  from neptune.internal.utils.dependency_tracking import FileDependenciesStrategy, InferDependenciesStrategy
label_desc: Use image node_id 4 for calling the TestDependencyTracking obj's underlying member method code with example usage: obj.test_file_strategy_uploads_correct_path(mock_is_file, path) without return types