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

def test_wrappedProtocolHandshakeCompleted(self):

    listener = TestHandshakeListener()
    wrapped = endpoints._WrappingProtocol(None, listener)
    wrapped.handshakeCompleted()
    self.assertEqual(listener.handshakeCompletedCalls, 1)
