'The wrapper function _WrapIProtocol gives an IProcessProtocol
implementation that wraps over an IProtocol.'

def test_wrappedProtocol(self):

    d = self.ep.connect(self.factory)
    self.successResultOf(d)
    wpp = self.reactor.processProtocol
    self.assertIsInstance(wpp, endpoints._WrapIProtocol)
