def expect(self, method=None, uri=None, params=None, headers=None):
        if method is not None:
            self.assertEqual(method, self.executor.request.method)
        if uri is not None:
            self.assertEqual(self.executor.request.uri,
                             'http://domain.uservoice.com/api/v1' + uri)
        if params is not None:
            try:
                params = tuple(params.items())
            except __HOLE__:
                pass
            self.assertEqual(self.executor.request.params, params)
        if headers is not None:
            self.assertEqual(self.executor.request.headers, headers)
dataset/ETHPy150Open ducksboard/libsaas/test/test_uservoice.py/UserVoiceTestCase.expect