def listenSSL(self, port, factory, contextFactory,
                  backlog=50, interface=''):
        """
        Fake L{IReactorSSL.listenSSL}, that logs the call and
        returns an L{IListeningPort}.
        """
        self.sslServers.append((port, factory, contextFactory,
                                backlog, interface))
        return _FakePort(IPv4Address('TCP', '0.0.0.0', port))

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