def METHOD_NAME():
    artifact_repository_registry = ArtifactRepositoryRegistry()
    mock_plugin = mock.Mock()
    artifact_repository_registry.register("mock-scheme", mock_plugin)
    assert "mock-scheme" in artifact_repository_registry._registry
    repository_instance = artifact_repository_registry.get_artifact_repository(
        artifact_uri="mock-scheme://fake-host/fake-path"
    )
    assert repository_instance == mock_plugin.return_value
    mock_plugin.assert_called_once_with("mock-scheme://fake-host/fake-path")