def METHOD_NAME():
    filters = [{'my.prop': {'NOT': ['c', 'd']}}]
    sampler = WMISampler(logger=None, class_name='MyClass', property_names='my.prop', filters=filters)
    formatted_filters = sampler.formatted_filters
    assert formatted_filters == " WHERE ( NOT ( my.prop = 'c' OR my.prop = 'd' ) )"
    sampler = WMISampler(
        logger=None, class_name='MyClass', property_names='my.prop', filters=filters, and_props=['my.prop']
    )
    formatted_filters = sampler.formatted_filters
    assert formatted_filters == " WHERE ( NOT ( my.prop = 'c' AND my.prop = 'd' ) )"