def METHOD_NAME(self, doc, update=False, es_merge_update=False,
                          delete=False, esgetter=None):
    if update and es_merge_update:
        old_doc = self.adapter.get(doc['_id'])
    self._send_to_es(doc, es_merge_update=es_merge_update, delete=delete)
    manager.index_refresh(self.adapter.index_name)
    if not delete:
        self.assertEqual(1, self.adapter.count({}))
        es_doc = self.adapter.get(doc['_id'])
        if es_merge_update:
            old_doc.update(es_doc)
            for prop in doc:
                self.assertEqual(doc[prop], old_doc[prop])
        else:
            for prop in doc:
                self.assertEqual(doc[prop], es_doc[prop])
            self.assertTrue(all(prop in doc for prop in es_doc))
    else:
        self.assertEqual(0, self.adapter.count({}))