class_docstr: Test the metadata in the serialized delta message for the different
  dimension specifier options.
class_docstr_tok: ["Test","the","metadata","in","the","serialized","delta","message","for","the","different","dimension","specifier","options","."]
code: def _do_test(self, fn, expectedWidth, expectedHeight):
      df = pd.DataFrame({"A": [1, 2, 3, 4, 5]})
  
      fn(st.dataframe, df)
      arrow_data_frame = (
          self.get_delta_from_queue().new_element.arrow_data_frame
      )
      self.assertEqual(arrow_data_frame.width, expectedWidth)
      self.assertEqual(arrow_data_frame.height, expectedHeight)
  
file_path: streamlit/lib/tests/streamlit/elements/arrow_dataframe_dimensions_test.py
imports: import pandas
  import streamlit
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 5 for calling the ArrowDataFrameDimensionsTest obj's underlying member method code with example usage: obj._do_test(fn, expectedWidth, expectedHeight) without return types