def METHOD_NAME():
    def random_lines(num_lines):
        for j in range(1, num_lines + 1):
            yield f'i\'m dummy doc {j}'
    req = request_generator('', data=random_lines(100), request_size=100)
    request = next(req)
    assert len(request.docs) == 100
    assert request.docs[0].text == 'i\'m dummy doc 1'