'If the wrapped factory does not provide L{ILoggingContext},
L{TLSMemoryBIOFactory.logPrefix} uses the wrapped factory\'s class name.'

def test_logPrefixFallback(self):

    class NoFactory(object, ):
        pass
    contextFactory = ServerTLSContext()
    factory = TLSMemoryBIOFactory(contextFactory, False, NoFactory())
    self.assertEqual('NoFactory    (TLS)', factory.logPrefix())
