def METHOD_NAME(self):
    self.assertEqual(
        helpers.expand_action(
            {"_op_type": "delete", "_id": "id", "_index": "index"}
        ),
        ({"delete": {"_id": "id", "_index": "index"}}, None),
    )
    self.assertEqual(
        helpers.expand_action(
            {"_op_type": "update", "_id": "id", "_index": "index", "key": "val"}
        ),
        ({"update": {"_id": "id", "_index": "index"}}, {"key": "val"}),
    )
    self.assertEqual(
        helpers.expand_action(
            {"_op_type": "create", "_id": "id", "_index": "index", "key": "val"}
        ),
        ({"create": {"_id": "id", "_index": "index"}}, {"key": "val"}),
    )
    self.assertEqual(
        helpers.expand_action(
            {
                "_op_type": "create",
                "_id": "id",
                "_index": "index",
                "_source": {"key": "val"},
            }
        ),
        ({"create": {"_id": "id", "_index": "index"}}, {"key": "val"}),
    )