public List<CommentSimpleResponse> findAllWithPaging(final Long boardId, final Long memberId, final Long commentId, final int pageSize) {
        return jpaQueryFactory.select(constructor(CommentSimpleResponse.class,
                        comment.id,
                        comment.content,
                        member.id,
                        member.id.eq(memberId),
                        member.nickname,
                        comment.createdAt
                )).from(comment)
                .where(
                        ltCommentId(commentId),
                        comment.boardId.eq(boardId)
                )
                .orderBy(comment.id.desc())
                .leftJoin(member).on(comment.writerId.eq(member.id))
                .limit(pageSize)
                .fetch();
    }
@Test
    void no_offset_페이징_첫_조회() {
        // given
        for (long i = 1L; i <= 20L; i++) {
            commentRepository.save(Comment.builder()
                    .id(i)
                    .boardId(board.getId())
                    .content("comment")
                    .writerId(member.getId())
                    .build()
            );
        }

        // when
        List<CommentSimpleResponse> result = commentQueryRepository.findAllWithPaging(1L, member.getId(), null, 10);

        // then
        assertSoftly(softly -> {
            softly.assertThat(result).hasSize(10);
            softly.assertThat(result.get(0).id()).isEqualTo(20L);
            softly.assertThat(result.get(9).id()).isEqualTo(11L);
        });
    }