def test_send(self):
        r = self.getProtocol()
        r.sendString("b" * 16)
        self.assertEqual(r.transport.value(),
            struct.pack(r.structFormat, 16) + "b" * 16)
Test sending data over protocol.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/test/test_protocols.py/IntNTestCaseMixin.test_send