'L{TLSMemoryBIOFactory.logPrefix} amends the wrapped factory\'s log prefix
with a short string (C{"TLS"}) indicating the wrapping, rather than its
full class name.'

def test_logPrefix(self):

    contextFactory = ServerTLSContext()
    factory = TLSMemoryBIOFactory(contextFactory, False, ServerFactory())
    self.assertEqual('ServerFactory    (TLS)', factory.logPrefix())
