'If SSL is not supported, L{TLSMemoryBIOFactory} will be L{None}, which
causes C{_wrapper} to also be L{None}.  If C{_wrapper} is L{None}, then
an exception is raised.'

def test_noOpenSSL(self):

    replaced = replacingGlobals(endpoints.wrapClientTLS, TLSMemoryBIOFactory=None)
    notImplemented = self.assertRaises(NotImplementedError, replaced, None, None)
    self.assertIn('OpenSSL    not    available', str(notImplemented))
