'If L{_IdentityTransferDecoder.dataReceived} is called with a byte string
with length greater than the provided content length, only the prefix
of that string up to the content length is passed to the data callback
and the remainder is passed to the finish callback.'

def test_longString(self):

    self.decoder.dataReceived((('x' * self.contentLength) + 'y'))
    self.assertEqual(self.data, [('x' * self.contentLength)])
    self.assertEqual(self.finish, ['y'])
