code: def _setup_s3_mock(data):
      s3_mocker = patch(
          "streamalert.classifier.payload.s3.boto3.resource"
      ).start()
      s3_mocker.return_value.Bucket.return_value.download_fileobj = (
          lambda k, d: d.write(json.dumps(data).encode())
      )
  
imports: import base64
  import json
  import re
  import time
  import zlib
  from mock import patch
  from streamalert.classifier.parsers import ParserBase
  from streamalert.shared import rule
  from streamalert.shared.logger import get_logger
  from streamalert_cli.test.mocks import LookupTableMocks, ThreatIntelMocks
label_desc: Use image node_id 25 for calling the TestEvent obj's underlying member method code with example usage: obj._setup_s3_mock(data) without return types