def METHOD_NAME(
    path: str, app_file_content: str, app_file_app_name: str, create_app_file: CreateAppFileFixture
) -> None:
    directory = None
    if "/" in path:
        directory, path = path.split("/", 1)
    tmp_file_path = create_app_file(file=path, directory=directory, content=app_file_content)
    env = LitestarEnv.from_env(None)
    dotted_path = _path_to_dotted_path(tmp_file_path.relative_to(Path.cwd()))
    assert isinstance(env.app, Litestar)
    assert env.app_path == f"{dotted_path}:{app_file_app_name}"