code: def test_move_named_annotation_property(self):
      fig = go.Figure(
          layout={
              "annotations": [
                  {
                      "arrowcolor": "blue",
                      "text": "First one",
                      "font": {"size": 23},
                  },
                  {
                      "arrowcolor": "green",
                      "text": "Second one",
                      "font": {"family": "Rockwell"},
                      "name": "First",
                  },
              ]
          }
      )
  
      templated_fig = pio.to_templated(fig)
  
      expected_fig = go.Figure(
          layout={
              "annotations": [{"text": "First one"}, {"name": "First"}],
              "template": {
                  "layout": {
                      "annotationdefaults": {
                          "arrowcolor": "blue",
                          "font": {"size": 23},
                      },
                      "annotations": [
                          {
                              "arrowcolor": "green",
                              "font": {"family": "Rockwell"},
                              "text": "Second one",
                              "name": "First",
                          }
                      ],
                  }
              },
          }
      )
      self.assertEqual(templated_fig, expected_fig)
  
imports: import copy
  from unittest import TestCase
  import pytest
  import plotly.io
  import plotly.graph_objs
  from plotly.tests.utils import TestCaseNoTemplate
label_desc: Use image node_id 5 for calling the TestToTemplated obj's underlying member method code with example usage: obj.test_move_named_annotation_property() without return types