code: def test_create_table(pg_vector_hook):
      pg_vector_hook.run = Mock()
      table_name = "my_table"
      columns = [
          "id SERIAL PRIMARY KEY",
          "name VARCHAR(255)",
          "value INTEGER",
      ]
      pg_vector_hook.create_table(
          table_name, columns, if_not_exists=True
      )
      pg_vector_hook.run.assert_called_with(
          "CREATE TABLE IF NOT EXISTS my_table (id SERIAL PRIMARY KEY, name VARCHAR(255), value INTEGER)"
      )
  
file_path: airflow/tests/providers/pgvector/hooks/test_pgvector.py
imports: from __future__ import annotations
  from unittest.mock import Mock
  import pytest
  from airflow.providers.pgvector.hooks.pgvector import PgVectorHook
label_desc: Use image node_id 2 for calling a global function with example usage: test_create_table(pg_vector_hook) without return types