'If the wrapped protocol provides L{ILoggingContext}, whatever is
returned from the wrapped C{logPrefix} method is returned from
L{_WrappingProtocol.logPrefix}.'

def test_logPrefixPassthrough(self):

    wf = endpoints._WrappingFactory(TestFactory())
    wp = wf.buildProtocol(None)
    self.assertEqual(wp.logPrefix(), 'A    Test    Protocol')
