code: def test_model_analysis_adult(
      self, tmpdir, create_rai_insights_object_classification_with_model
  ):
      ri = create_rai_insights_object_classification_with_model
      with pytest.warns(
          DeprecationWarning,
          match="MODULE-DEPRECATION-WARNING: "
          "ModelAnalysisDashboard in raiwidgets package is "
          "deprecated."
          "Please use ResponsibleAIDashboard instead.",
      ):
          widget = ModelAnalysisDashboard(ri)
      self.validate_rai_dashboard_data(widget)
  
      save_dir = tmpdir.mkdir("save-dir")
      ri.save(save_dir)
      ri_copy = ri.load(save_dir)
  
      widget_copy = ModelAnalysisDashboard(ri_copy)
      self.validate_rai_dashboard_data(widget_copy)
  
imports: import pytest
  from raiwidgets import ModelAnalysisDashboard
  from responsibleai._interfaces import CausalData, CounterfactualData, Dataset, ErrorAnalysisData, ModelExplanationData
label_desc: Use image node_id 2 for calling the TestModelAnalysisDashboard obj's underlying member method code with example usage: obj.test_model_analysis_adult(tmpdir, create_rai_insights_object_classification_with_model) without return types