async def METHOD_NAME(
    skip_if_r_clone_is_missing: None,
    exclude_patterns_validation_dir: Path,
    exclude_patterns: set[str] | None,
    expected_result: set[Path],
):
    command: list[str] = [
        "rclone",
        "--quiet",
        "--dry-run",
        "--links",
        *r_clone._get_exclude_filters(exclude_patterns),  # noqa: SLF001
        "lsf",
        "--absolute",
        "--files-only",
        "--recursive",
        f"{exclude_patterns_validation_dir}",
    ]
    ls_result = await r_clone._async_r_clone_command(*command)  # noqa: SLF001
    relative_files_paths: set[Path] = {
        Path(x.lstrip("/")) for x in ls_result.split("\n") if x
    }
    assert relative_files_paths == expected_result