async def METHOD_NAME() -> None:
    @get("/")
    def handler() -> None:
        return None
    config = RateLimitConfig(rate_limit=("second", 1))
    cache_key = "RateLimitMiddleware::testclient"
    app = Litestar(route_handlers=[handler], middleware=[config.middleware])
    store = app.stores.get("rate_limit")
    with TestClient(app=app) as client:
        response = client.get("/")
        assert response.status_code == HTTP_200_OK
        cached_value = await store.get(cache_key)
        assert cached_value
        cache_object = CacheObject(**decode_json(value=cached_value))
        assert cache_object.reset == int(time() + 1)
        cache_object.reset -= 2
        await store.set(cache_key, encode_json(cache_object))
        response = client.get("/")
        assert response.status_code == HTTP_200_OK