'C{_consumeLength} works as expected if the length specification
contains the value of C{MAX_LENGTH} (border case).'

def test_consumeLengthBorderCase1(self):

    self.netstringReceiver._remainingData = '12:'
    self.netstringReceiver.MAX_LENGTH = 12
    self.netstringReceiver._consumeLength()
    self.assertEqual(self.netstringReceiver._expectedPayloadSize, 13)
