def METHOD_NAME():
    # works with list
    c = {'column': 'city name', 'operator': 'in', 'value': ['Paris', 'London']}
    assert MongoConditionTranslator.translate(c) == {'city name': {'$in': ['Paris', 'London']}}
    # works with numbers
    c = {'column': 'population', 'operator': 'eq', 'value': 42}
    assert MongoConditionTranslator.translate(c) == {'population': {'$eq': 42}}
    # works with strings
    c = {'column': 'country', 'operator': 'eq', 'value': 'France'}
    assert MongoConditionTranslator.translate(c) == {'country': {'$eq': 'France'}}
    # raise when needed
    with pytest.raises(ValueError):
        MongoConditionTranslator.translate({'column': 'population', 'operator': 'eq'})
    with pytest.raises(ValueError):
        MongoConditionTranslator.translate({'column': 'population', 'value': 42})
    with pytest.raises(ValueError):
        MongoConditionTranslator.translate({'operator': 'eq', 'value': 42})
    with pytest.raises(ValueError):
        MongoConditionTranslator.translate(
            {'column': 'population', 'operator': 'unsupported', 'value': 42}
        )