'When passed an SSL strports description without any extra parameters,
L{clientFromString} returns a simple non-verifying endpoint that will
speak SSL.'

def test_sslSimple(self):

    reactor = object()
    client = endpoints.clientFromString(reactor, 'ssl:host=simple.example.org:port=4321')
    certOptions = client._sslContextFactory
    self.assertIsInstance(certOptions, CertificateOptions)
    self.assertFalse(certOptions.verify)
    ctx = certOptions.getContext()
    self.assertIsInstance(ctx, ContextType)
