code: def test_deprecate_func_name_with_override(
      self, mock_show_warning: Mock
  ):
      def multiply(a, b):
          return a * b
  
      beta_multiply = deprecate_func_name(
          multiply, "beta_multiply", "1980-01-01", name_override="mul"
      )
  
      self.assertEqual(beta_multiply(3, 2), 6)
  
      expected_warning = (
          "Please replace `st.beta_multiply` with `st.mul`.\n\n"
          "`st.beta_multiply` will be removed after 1980-01-01."
      )
      mock_show_warning.assert_called_once_with(expected_warning)
  
file_path: streamlit/lib/tests/streamlit/deprecation_util_test.py
imports: import unittest
  from unittest.mock import Mock, patch
  from streamlit.deprecation_util import deprecate_func_name, deprecate_obj_name, show_deprecation_warning
  from tests.testutil import patch_config_options
label_desc: Use image node_id 3 for calling the DeprecationUtilTest obj's underlying member method code with example usage: obj.test_deprecate_func_name_with_override(mock_show_warning) and returns: unknown