'Send too much data: that should cause an error.'

def test_tooLongSend(self):

    r = self.getProtocol()
    tooSend = ('b' * ((2 ** (r.prefixLength * 8)) + 1))
    self.assertRaises(AssertionError, r.sendString, tooSend)
