def METHOD_NAME(self):
    filters = {"invalid-filter-name": ["test-value"]}
    with pytest.raises(KeyError) as ex:
        validate_filters(filters, self.filter_defs)
    assert "Unrecognized filter name: invalid-filter-name" in str(ex)