def METHOD_NAME(tmp_path: Path):
    with Cache(tmp_path) as cache:
        path = cache.get_path(f"foo{id(cache)}")
        assert path == cache.directory / "0x0"
        for i in range(15):
            cache.get_path(f"{i}")
        assert cache.get_path("1") == cache.directory / "0x2"
        assert cache.get_path("") == cache.directory / "0x10"