'Our L{_WrappingProtocol} should be an L{IFileDescriptorReceiver} if the
wrapped protocol is.'

def test_wrappingProtocolFileDescriptorReceiver(self):

    connectedDeferred = None
    applicationProtocol = TestFileDescriptorReceiverProtocol()
    wrapper = endpoints._WrappingProtocol(connectedDeferred, applicationProtocol)
    self.assertTrue(interfaces.IFileDescriptorReceiver.providedBy(wrapper))
    self.assertTrue(verifyObject(interfaces.IFileDescriptorReceiver, wrapper))
