'L{_IdentityTransferDecoder.noMoreData} does not raise any exception if
it is called when the content length is known and that many bytes have
been delivered.'

def test_finishedConnectionLose(self):

    self.decoder.dataReceived(('x' * self.contentLength))
    self.decoder.noMoreData()
    self._verifyCallbacksUnreferenced(self.decoder)
