'Like L{test_largeWrite}, but for the case where C{render} returns a
long string rather than explicitly passing it to L{Request.write}.'

def test_largeReturn(self):

    class LargeReturn(resource.Resource, ):
        def render(self, request):
            return (('x' * SIZE_LIMIT) + 'y')
    request = self._requestTest(LargeReturn())
    request.addCallback(self.assertEqual, (('x' * SIZE_LIMIT) + 'y'))
    return request
