public BoardsSimpleResponse findAllBoards(final Pageable pageable, final Long memberId) {
        Page<BoardSimpleResponse> response = boardRepository.findAllBoardsWithPaging(pageable, memberId);
        return BoardsSimpleResponse.of(response, pageable);
    }
@Test
    void 게시글을_모두_조회한다() {
        // when
        BoardsSimpleResponse result = boardQueryService.findAllBoards(PageRequest.of(0, 10), 1L);

        // then
        assertThat(result.nextPage()).isEqualTo(-1);
    }