docstr: StreamQuery - QueryPackExecutionContext - Test methods
docstr_tok: ["StreamQuery","-","QueryPackExecutionContext","-","Test","methods"]
code: def test_methods(self):
      """StreamQuery - QueryPackExecutionContext - Test methods"""
      assert_equals(self._cache, self._context.state_manager)
      assert_equals(self._athena, self._context.athena_client)
      assert_equals(self._logger, self._context.logger)
      assert_equals(self._params, self._context.parameter_generator)
      assert_equals(self._repo, self._context.query_pack_repository)
      assert_equals(self._clock, self._context.clock)
  
imports: from datetime import datetime, timezone
  from mock import MagicMock, patch
  from nose.tools import assert_equals, assert_false, assert_true
  from streamalert.scheduled_queries.query_packs.manager import QueryPack, QueryPacksManager, QueryPackExecutionContext, QueryPacksManagerFactory
  from streamalert.scheduled_queries.query_packs.parameters import QueryParameterGenerator
label_desc: Use image node_id 2 for calling the TestQueryPackExecutionContext obj's underlying member method code with example usage: obj.test_methods() without return types