code: def test_strict_to_content(self, example):
      content = content_types.strict_to_content(example)
      part = content.parts[0]
  
      self.assertLen(content.parts, 1)
      self.assertIsInstance(part, glm.Part)
      self.assertEqual(part.text, "Hello world!")
  
imports: import copy
  import pathlib
  import unittest.mock
  from absl.testing import absltest
  from absl.testing import parameterized
  import google.ai.generativelanguage
  import google.generativeai
  from google.generativeai.types import content_types
  from google.generativeai.types import safety_types
  import IPython.display
  import PIL.Image
label_desc: Use image node_id 8 for calling the UnitTests obj's underlying member method code with example usage: obj.test_strict_to_content(example) without return types