def METHOD_NAME(sync_to_thread: bool) -> None:
    async def func() -> None:
        pass
    with pytest.warns(LitestarWarning, match="asynchronous callable"):
        Provide(func, sync_to_thread=sync_to_thread)