'If the context factory passed to L{IReactorSSL.connectSSL} raises an
exception from its C{getContext} method, that exception is raised by
L{IReactorSSL.connectSSL}.'

def test_badContext(self):

    def useIt(reactor, contextFactory):
        return reactor.connectSSL('127.0.0.1', 1234, ClientFactory(), contextFactory)
    self._testBadContext(useIt)
