def METHOD_NAME(self, tmp_path: Path) -> None:
    """Test handle yaml."""
    expected = {"foo": "bar", "foobar": [1, None]}
    data = yaml.dump(expected)
    tmp_file = tmp_path / "test"
    tmp_file.write_text(data, encoding="utf-8")
    assert FileLookup.handle(f"yaml:file://{tmp_file}") == expected
    assert FileLookup.handle(f"yaml:{data}") == expected