'If more bytes than C{LineReceiver.MAX_LENGTH} arrive containing no line
delimiter, all of the bytes are passed as a single string to
L{LineReceiver.lineLengthExceeded}.'

def test_longUnendedLine(self):

    excessive = ('x' * ((self.proto.MAX_LENGTH * 2) + 2))
    self.proto.dataReceived(excessive)
    self.assertEqual([excessive], self.proto.longLines)
