'The C{\'CONTENT_LENGTH\'} key of the C{environ} C{dict} passed to the
application is always a native string.'

def test_contentLengthIsNativeString(self):

    for contentLength in ('1234', u'1234'):
        (request, result) = self.prepareRequest()
        request.requestHeaders.addRawHeader('Content-Length', contentLength)
        request.requestReceived()
        result.addCallback(self.environKeyEqual('CONTENT_LENGTH', '1234'))
        self.assertIsInstance(self.successResultOf(result), str)
