def METHOD_NAME(request_json, result_text):
    with pytest.raises(InvalidParamException) as e:
        AppEntitiesConvertor.analyzer_results_from_json(request_json)
    assert result_text == e.value.err_msg