def METHOD_NAME(self, domain, case):
    # confirm change made it to elasticsearch
    manager.index_refresh(case_search_adapter.index_name)
    results = CaseSearchES().run()
    self.assertEqual(1, results.total)
    case_doc = results.hits[0]
    self.assertEqual(domain, case_doc['domain'])
    self.assertEqual(case.case_id, case_doc['_id'])
    self.assertEqual(case.name, case_doc['name'])
    # Confirm change contains case_properties
    self.assertItemsEqual(list(case_doc['case_properties'][0]), ['key', 'value'])
    for case_property in case_doc['case_properties']:
        key = case_property['key']
        try:
            self.assertEqual(
                SPECIAL_CASE_PROPERTIES_MAP[key].value_getter(case.to_json()),
                case_property['value'],
            )
        except KeyError:
            self.assertEqual(case.get_case_property(key), case_property['value'])