def METHOD_NAME() -> None:
    stat = _file_status_from_api_ls(
        URL("storage://default/user/foo"),
        {
            "path": "name",
            "type": "DIRECTORY",
            "length": 1234,
            "modificationTime": 3456,
            "permission": "read",
        },
    )
    assert stat.type == FileStatusType.DIRECTORY
    assert not stat.is_file()
    assert stat.is_dir()
    assert not stat.is_symlink()
    assert stat.target is None