'L{policies.WrappingFactory.startedConnecting} calls
C{startedConnecting} on the underlying factory.'

def test_startedConnecting(self):

    result = []
    class Factory(object, ):
        def startedConnecting(self, connector):
            result.append(connector)
    wrapper = policies.WrappingFactory(Factory())
    connector = object()
    wrapper.startedConnecting(connector)
    self.assertEqual(result, [connector])
