def METHOD_NAME(self, test_field, matching_values, not_matching_values):
    """Test helper to test filtering on a specific field"""
    base_doc = {"doc_type": "CommCareCase", "domain": 'user-reports', "type": 'ticket'}
    self.assertTrue(self.config.filter(base_doc), "Test setup error. Base doc does not match the filters")
    for matching_value in matching_values:
        matching = {**base_doc, **{test_field: matching_value}}
        self.assertTrue(self.config.filter(matching), matching_value)
    for not_matching_value in not_matching_values:
        not_matching = {**base_doc, **{test_field: not_matching_value}}
        self.assertFalse(self.config.filter(not_matching), not_matching_value)
        self.assertEqual([], self.config.get_all_values(not_matching), not_matching_value)