def METHOD_NAME(executor):
    def verify(input, expected_comment_text):
        actual_count, actual_comments = executor.execute(
            input, offset=0, limit=100
        )
        actual_comment_text = [c.text for c in actual_comments]
        assert actual_count == len(expected_comment_text)
        assert actual_comment_text == expected_comment_text
    return verify