code: def test_insert_rows(self, mock_insert_rows):
      table = "table"
      rows = [("hello",), ("world",)]
      target_fields = None
      commit_every = 10
      self.db_hook.insert_rows(table, rows, target_fields, commit_every)
      mock_insert_rows.assert_called_once_with(table, rows, None, 10)
  
file_path: airflow/tests/providers/vertica/hooks/test_vertica.py
imports: from __future__ import annotations
  import json
  from unittest import mock
  from unittest.mock import patch
  from airflow.models import Connection
  from airflow.providers.vertica.hooks.vertica import VerticaHook
label_desc: Use image node_id 2 for calling the TestVerticaHook obj's underlying member method code with example usage: obj.test_insert_rows(mock_insert_rows) without return types