code: def test_get_content_with_cm(self):
      m = self._str_msg("")
      cm = self._TestContentManager()
      self.assertEqual(m.get_content(content_manager=cm), (m, (), {}))
      msg, args, kw = m.get_content(
          "foo", content_manager=cm, bar=1, k=2
      )
      self.assertEqual(msg, m)
      self.assertEqual(args, ("foo",))
      self.assertEqual(kw, dict(bar=1, k=2))
  
imports: import unittest
  import textwrap
  from email import policy, message_from_string
  from email.message import EmailMessage, MIMEPart
  from test.test_email import TestEmailBase, parameterize
label_desc: Use image node_id 4 for calling the TestEmailMessageBase obj's underlying member method code with example usage: obj.test_get_content_with_cm() without return types