code: def test_to_tools(self, tools):
      tools = content_types.to_tools(tools)
      expected = dict(
          function_declarations=[
              dict(
                  name="datetime",
                  description="Returns the current UTC date and time.",
              )
          ]
      )
      self.assertEqual(type(tools[0]).to_dict(tools[0]), expected)
  
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 13 for calling the UnitTests obj's underlying member method code with example usage: obj.test_to_tools(tools) without return types