code: def test_embed_content(self):
      text = "What are you?"
      emb = embedding.embed_content(
          model=DEFAULT_EMB_MODEL, content=text
      )
  
      self.assertIsInstance(emb, dict)
      self.assertEqual(
          self.observed_requests[-1],
          glm.EmbedContentRequest(
              model=DEFAULT_EMB_MODEL,
              content=glm.Content(
                  parts=[glm.Part(text="What are you?")]
              ),
          ),
      )
      self.assertIsInstance(emb["embedding"][0], float)
  
file_path: generative-ai-python/tests/test_embedding.py
imports: import copy
  import math
  import unittest
  import unittest.mock
  import google.ai.generativelanguage
  from google.generativeai import embedding
  from google.generativeai import client
  from absl.testing import absltest
  from absl.testing import parameterized
label_desc: Use image node_id 2 for calling the UnitTests obj's underlying member method code with example usage: obj.test_embed_content() without return types