code: def test_expected_artifact_dataset_sources_are_registered_and_resolvable(
      source_uri, source_type, source_class_name
  ):
      dataset_source = resolve_dataset_source(source_uri)
      assert isinstance(dataset_source, FileSystemDatasetSource)
      assert dataset_source._get_source_type() == source_type
      assert type(dataset_source).__name__ == source_class_name
      assert type(dataset_source).__qualname__ == source_class_name
      assert dataset_source.uri == source_uri
  
file_path: mlflow/tests/data/test_artifact_dataset_sources.py
imports: import json
  import os
  from unittest import mock
  import pytest
  from mlflow.data.dataset_source_registry import get_dataset_source_from_json, resolve_dataset_source
  from mlflow.data.filesystem_dataset_source import FileSystemDatasetSource
  from mlflow.store.artifact.s3_artifact_repo import S3ArtifactRepository
label_desc: Use image node_id 1 for calling a global function with example usage: test_expected_artifact_dataset_sources_are_registered_and_resolvable(source_uri, source_type, source_class_name) without return types