docstr: StreamQuery - KinesisClient - send_query_results - negative case
docstr_tok: ["StreamQuery","-","KinesisClient","-","send_query_results","-","negative","case"]
code: def test_failure(self):
      """StreamQuery - KinesisClient - send_query_results - negative case"""
      query_pack = MagicMock()
      query_pack.query_result.headers = ["header1", "header2"]
      query_pack.query_result.data_as_dicts = [
          {"header1": "a", "header2": "b"}
      ]
      query_pack.query_result.count = 1
  
      query_pack.query_execution.query_execution_id = (
          "1111-aaaa-bbbb-2222"
      )
  
      query_pack.query_pack_configuration.name = "test_name"
      query_pack.query_pack_configuration.description = "description?"
      query_pack.query_execution.query = "SELECT * FROM yayifications;"
      query_pack.query_parameters = {"dt": "2020"}
      query_pack.query_execution.data_scanned_in_bytes = 123
      query_pack.query_execution.engine_execution_time_in_millis = 345
      query_pack.query_pack_configuration.tags = ["daily"]
  
      self._client.put_records.return_value = {
          "ResponseMetadata": {"HTTPStatusCode": 400}
      }
  
      self._kinesis.send_query_results(query_pack)
  
      self._logger.info.assert_any_call("  ERROR!")
      self._logger.info.assert_any_call("Done.")
  
file_path: streamalert/tests/unit/streamalert/scheduled_queries/streamalert/test_kinesis.py
imports: from mock import MagicMock
  from moto import mock_kinesis
  from streamalert.scheduled_queries.streamalert.kinesis import KinesisClient
label_desc: Use image node_id 4 for calling the TestKinesisClient obj's underlying member method code with example usage: obj.test_failure() without return types