def METHOD_NAME(monkeypatch):
    """
    Mocks the registering of an additional ChunkManagerEntrypoint.
    This preserves the presence of the existing DaskManager, so a test that relies on this and DaskManager both being
    returned from list_chunkmanagers() at once would still work.
    The monkeypatching changes the behavior of list_chunkmanagers when called inside xarray.core.parallelcompat,
    but not when called from this tests file.
    """
    # Should include DaskManager iff dask is available to be imported
    preregistered_chunkmanagers = list_chunkmanagers()
    monkeypatch.setattr(
        "xarray.core.parallelcompat.list_chunkmanagers",
        lambda: {"dummy": DummyChunkManager()} | preregistered_chunkmanagers,
    )
    yield