def METHOD_NAME():
    data = {
        "text": "THIS IS MY TEXT",
        "anonymizer_results": [
            {
                "start": 0,
                "end": 5,
                "key": "1111111111111111",
            }
        ],
    }
    with pytest.raises(
        InvalidParamException, match="Invalid input, result must contain entity_type"
    ):
        AppEntitiesConvertor.deanonymize_entities_from_json(data)