'L{Agent} takes a C{bindAddress} argument which is forwarded to the
following C{connectTCP} call.'

def test_bindAddress(self):

    agent = client.Agent(self.reactor, bindAddress='192.168.0.1')
    agent.request('GET', 'http://foo/')
    address = self.reactor.tcpClients.pop()[4]
    self.assertEqual('192.168.0.1', address)
