def METHOD_NAME(viz, sagemaker_session):
    name = "tc-name"
    sagemaker_session.sagemaker_client.describe_trial_component.return_value = {
        "TrialComponentArn": "tc-arn",
    }
    get_list_associations_side_effect(sagemaker_session)
    df = viz.show(trial_component_name=name)
    sagemaker_session.sagemaker_client.describe_trial_component.assert_called_with(
        TrialComponentName=name,
    )
    assert_list_associations_mock_calls(sagemaker_session)
    pd.testing.assert_frame_equal(get_expected_dataframe(), df)