def setUp(self):
     self.plugin = MACAuthPlugin()
     application = PluggableAuthenticationMiddleware(
         stub_application, [["mac", self.plugin]], [["mac", self.plugin]],
         [["mac", self.plugin]], [], stub_request_classifier,
         stub_challenge_decider)
     self.app = TestApp(application)