'Our L{_WrappingProtocol} should be an L{IHalfCloseableProtocol} if the
C{wrappedProtocol} is.'

def test_wrappingProtocolHalfCloseable(self):

    cd = object()
    hcp = TestHalfCloseableProtocol()
    p = endpoints._WrappingProtocol(cd, hcp)
    self.assertEqual(interfaces.IHalfCloseableProtocol.providedBy(p), True)
