'Check that all proxies will be searched in order.'

def testProxySearch(self):

    instrumentor = RequestsInstrumentor()
    with instrumentor.instrument():
        manager = MockHTTPManager()
        result = manager.OpenURL('http://www.google.com/')
    proxies = [x[1]['proxies']['https'] for x in instrumentor.actions]
    self.assertEqual(proxies, manager.proxies)
    self.assertEqual(result.code, 404)
