code: def setup(self):
      self._logger = MagicMock(name="Logger")
      clock = MagicMock(name="Clock")
      clock.now = datetime(
          year=2019,
          month=1,
          day=1,
          hour=1,
          minute=1,
          second=1,
          tzinfo=timezone.utc,
      )
      self._generator = QueryParameterGenerator(self._logger, 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 TestQueryParameterGenerator obj's underlying member method code with example usage: obj.setup() without return types