code: def test_get_anchor_tag_url_is_escaped(self):
      url = sheets_id.SheetsURL("https://docs.google.com/")
      # Break encapsulation to modify the URL.
      url._url = 'https://docs.google.com/"evil_string"'
      html = html_utils.get_anchor_tag(
          url=url,
          text="hello world",
      )
      self.assertEqual(
          (
              '<a target="_blank" rel="noopener"'
              ' href="https://docs.google.com/&quot;evil_string&quot;">hello'
              " world</a>"
          ),
          html,
      )
  
imports: from __future__ import annotations
  from absl.testing import absltest
  from google.generativeai.notebook import html_utils
  from google.generativeai.notebook import sheets_id
label_desc: Use image node_id 2 for calling the HtmlUtilsTest obj's underlying member method code with example usage: obj.test_get_anchor_tag_url_is_escaped() without return types