def connectSSL(self, host, port, factory, contextFactory,
                   timeout=30, bindAddress=None):
        """
        Fake L{IReactorSSL.connectSSL}, that logs the call and returns an
        L{IConnector}.
        """
        self.sslClients.append((host, port, factory, contextFactory,
                                timeout, bindAddress))
        conn = _FakeConnector(IPv4Address('TCP', host, port))
        factory.startedConnecting(conn)
        self.connectors.append(conn)
        return conn

        Fake L{IReactorSSL.connectSSL}, that logs the call and returns an
        L{IConnector}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/internet/testing.py