def GenericRequestTestSetup(self):
    self._test = self.GetTestClassInstance()
    setattr(self, self.GetTestClassInstanceVariableName(), self._test)
    self.request = self.mox.CreateMockAnything()
    self.request.headers = self.mox.CreateMockAnything()
    self.request.headers.get = self.mox.CreateMockAnything()
    self.response = self.mox.CreateMockAnything()
    self.response.headers = self.mox.CreateMockAnything()
    self.send_blob = self.mox.CreateMockAnything()
    self._test.request = self.request
    self._test.response = self.response
    self._test.response.out = self.response
    self._test.send_blob = self.send_blob
    self._set_mock = {}
Setup a standard mocked webapp.Request test framework.
dataset/ETHPy150Open google/simian/src/tests/simian/mac/common/test_base.py/RequestHandlerTest.GenericRequestTestSetup