'The TLS handshake is performed when L{TLSMemoryBIOProtocol} is
connected to a transport.'

def test_handshake(self):

    (tlsClient, tlsServer, handshakeDeferred, _) = self.handshakeProtocols()
    return handshakeDeferred
