code: def test_get_first(self):
      statement = "SQL"
      result_sets = [("row1",), ("row2",)]
      self.cur.fetchone.return_value = result_sets[0]
      assert result_sets[0] == self.db_hook().get_first(statement)
  
imports: from __future__ import annotations
  import os
  import subprocess
  from io import BytesIO
  from unittest import mock
  import pytest
  from airflow.exceptions import AirflowException
  from airflow.providers.apache.pinot.hooks.pinot import PinotAdminHook, PinotDbApiHook
label_desc: Use image node_id 5 for calling the TestPinotDbApiHook obj's underlying member method code with example usage: obj.test_get_first() without return types