def test_discard(self):
        t = proto_helpers.StringTransport()
        a = wire.Discard()
        a.makeConnection(t)
        a.dataReceived("hello")
        a.dataReceived("world")
        a.dataReceived("how")
        a.dataReceived("are")
        a.dataReceived("you")
        self.assertEqual(t.value(), "")
Test wire.Discard protocol.
dataset/ETHPy150Open twisted/twisted/twisted/test/test_protocols.py/WireTests.test_discard