def METHOD_NAME():
    import_root = "mlflow.tracking.artifact_utils"
    with mock.patch(import_root + "._download_artifact_from_uri") as download_mock, mock.patch(
        import_root + ".DbfsRestArtifactRepository"
    ) as repo_mock:
        new_source = _upload_artifacts_to_databricks(
            "dbfs:/original/sourcedir/",
            "runid12345",
            "databricks://tracking",
            "databricks://registry:ws",
        )
        download_mock.assert_called_once_with("dbfs://tracking@databricks/original/sourcedir/", ANY)
        repo_mock.assert_called_once_with(
            "dbfs://registry:ws@databricks/databricks/mlflow/tmp-external-source/"
        )
        assert new_source == "dbfs:/databricks/mlflow/tmp-external-source/runid12345/sourcedir"