code: def assert_list_associations_mock_calls(sagemaker_session):
      expected_calls = [
          unittest.mock.call(
              DestinationArn="tc-arn",
          ),
          unittest.mock.call(
              SourceArn="tc-arn",
          ),
      ]
      assert (
          expected_calls
          == sagemaker_session.sagemaker_client.list_associations.mock_calls
      )
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/lineage/test_visualizer.py
imports: from __future__ import absolute_import
  import unittest.mock
  import pandas
  from collections import OrderedDict
label_desc: Use image node_id 10 for calling a global function with example usage: assert_list_associations_mock_calls(sagemaker_session) without return types