def METHOD_NAME() -> None:
    spec = RecursiveGlobSpec("dir/subdir")
    assert spec.to_glob() == "dir/subdir/**"
    assert spec.matches_target_residence_dir("") is False
    assert spec.matches_target_residence_dir("dir") is False
    assert spec.matches_target_residence_dir("dir/subdir") is True
    assert spec.matches_target_residence_dir("dir/subdir/nested") is True
    assert spec.matches_target_residence_dir("dir/subdir/nested/again") is True
    assert spec.matches_target_residence_dir("another/subdir") is False
    assert_build_file_globs(
        RawSpecsWithoutFileOwners(recursive_globs=(spec,), description_of_origin="tests"),
        expected_build_globs={"BUILD", "dir/BUILD", "dir/subdir/BUILD", "dir/subdir/**/BUILD"},
        expected_validation_globs={"dir/subdir/**"},
    )
    spec = RecursiveGlobSpec("")
    assert spec.to_glob() == "**"
    assert spec.matches_target_residence_dir("") is True
    assert spec.matches_target_residence_dir("dir") is True
    assert spec.matches_target_residence_dir("another_dir") is True
    assert_build_file_globs(
        RawSpecsWithoutFileOwners(recursive_globs=(spec,), description_of_origin="tests"),
        expected_build_globs={"BUILD", "**/BUILD"},
        expected_validation_globs={"**"},
    )