def METHOD_NAME(photosdb: PhotosDB, tmp_path: pathlib.Path):
    """Test SidecarWriter with multi-sidecar output"""
    photo = photosdb.get_photo(UUID_ALL_METADATA)
    sidecar_writer = SidecarWriter(photo)
    options = ExportOptions(sidecar=SIDECAR_EXIFTOOL | SIDECAR_XMP)
    results = sidecar_writer.write_sidecar_files(tmp_path / "test.jpg", options)
    assert len(results.sidecar_exiftool_written) == 1
    assert len(results.sidecar_xmp_written) == 1
    assert pathlib.Path(results.sidecar_exiftool_written[0]).name == "test.jpg.json"
    assert pathlib.Path(results.sidecar_xmp_written[0]).name == "test.jpg.xmp"