'Test sending data over protocol.'

def test_send(self):

    r = self.getProtocol()
    r.sendString(('b' * 16))
    self.assertEqual(r.transport.value(), (struct.pack(r.structFormat, 16) + ('b' * 16)))
