def METHOD_NAME():
    mock_entrypoint = mock.Mock()
    mock_entrypoint.name = "mock-scheme"
    with mock.patch("entrypoints.get_group_all", return_value=[mock_entrypoint]):
        # Entrypoints are registered at import time, so we need to reload the
        # module to register the entrypoint given by the mocked
        # entrypoints.get_group_all
        reload(artifact_repository_registry)
        expected_artifact_repository_registry = {
            "",
            "s3",
            "gs",
            "wasbs",
            "ftp",
            "sftp",
            "dbfs",
            "mock-scheme",
        }
    assert expected_artifact_repository_registry.issubset(
        artifact_repository_registry._artifact_repository_registry._registry.keys()
    )