'L{_WrappingProtocol.writeConnectionLost} should proxy to the wrapped
protocol\'s C{writeConnectionLost}'

def test_wrappedProtocolWriteConnectionLost(self):

    hcp = TestHalfCloseableProtocol()
    p = endpoints._WrappingProtocol(None, hcp)
    p.writeConnectionLost()
    self.assertTrue(hcp.writeLost)
