code: def test_MissingValues():
      state = __prepare_test_data()
      viz = MissingValues(graph_type="matrix", headers=True, abc=123)
      viz._internal_render = MagicMock()
      viz.render_markdown = MagicMock()
  
      viz.render(state)
  
      assert viz._internal_render.call_count == 2
  
      assert viz.render_markdown.call_count == 2
      viz.render_markdown.assert_has_calls(
          calls=[
              call("**`train_data` missing values analysis**"),
              call("**`test_data` missing values analysis**"),
          ]
      )
  
      viz._internal_render.assert_has_calls(
          calls=[
              call(
                  msno.matrix,
                  state.missing_statistics.train_data.data,
                  abc=123,
              ),
              call(
                  msno.matrix,
                  state.missing_statistics.test_data.data,
                  abc=123,
              ),
          ]
      )
  
file_path: autogluon/eda/tests/unittests/visualization/test_missing.py
imports: from unittest.mock import MagicMock, call
  import missingno
  import numpy
  import pandas
  import pytest
  from autogluon.eda import AnalysisState
  from autogluon.eda.visualization import MissingValues
label_desc: Use image node_id 1 for calling a global function with example usage: test_MissingValues() without return types