code: def setUp(self):
      super().setUp()
      self.query_params = QueryParams()
      self.query_params._query_params = {
          "foo": "bar",
          "two": ["x", "y"],
      }
  
imports: import pytest
  from streamlit.errors import StreamlitAPIException
  from streamlit.runtime.state.query_params import QueryParams
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 1 for calling the QueryParamsMethodTests obj's underlying member method code with example usage: obj.setUp() without return types