code: def test_poke(self, mock_hook):
      sensor = CassandraRecordSensor(
          task_id="test_task",
          cassandra_conn_id=TEST_CASSANDRA_CONN_ID,
          table=TEST_CASSANDRA_TABLE,
          keys=TEST_CASSANDRA_KEY,
      )
      exists = sensor.poke(dict())
  
      assert exists
  
      mock_hook.return_value.record_exists.assert_called_once_with(
          TEST_CASSANDRA_TABLE, TEST_CASSANDRA_KEY
      )
      mock_hook.assert_called_once_with(TEST_CASSANDRA_CONN_ID)
  
imports: from __future__ import annotations
  from unittest.mock import patch
  from airflow.providers.apache.cassandra.sensors.record import CassandraRecordSensor
label_desc: Use image node_id 1 for calling the TestCassandraRecordSensor obj's underlying member method code with example usage: obj.test_poke(mock_hook) without return types