def METHOD_NAME(monkeypatch):
    def _get_taxonomy_mock(taxonomy_type: TaxonomyType, *args, **kwargs):
        data: Any = None
        if taxonomy_type is TaxonomyType.brand:
            data = {"en:etorki": {"name": {"en": "Etorki"}}}
        elif taxonomy_type is TaxonomyType.label:
            data = {
                "en:organic": {
                    "synonyms": {"fr": ["Bio"]},
                    "children": ["en:eu-organic"],
                },
                "en:eu-organic": {
                    "wikidata": {"en": "Q380448"},
                    "parents": ["en:organic"],
                },
            }
        return robotoff.taxonomy.Taxonomy.from_dict(data) if data else None
    monkeypatch.setattr(
        robotoff.taxonomy,
        "_get_taxonomy",
        _get_taxonomy_mock,
    )