code: def test_make_snapshot_text_v1(fake_writer):
      eng = _gen_faker_engine("fake content1,content2")
      make_snapshot(
          engine=eng,
          file_name=_gen_bar_chart(),
          output_name="make_snapshot.svg",
          is_remove_html=True,
      )
      _ = fake_writer.call_args[0]
      assert_equal("test ok", "test ok")
  
file_path: pyecharts/test/test_snapshot.py
imports: import os
  from unittest.mock import patch
  from nose.tools import assert_equal, raises
  from pyecharts.charts import Bar
  from pyecharts.render import make_snapshot
  from pyecharts.render.snapshot import save_as, save_as_png, save_as_text, decode_base64
label_desc: Use image node_id 12 for calling a global function with example usage: test_make_snapshot_text_v1(fake_writer) without return types