public BoardFoundResponse findBoardById(final Long boardId, final Long memberId) {
        return boardRepository.findByIdForRead(boardId, memberId)
                .orElseThrow(BoardNotFoundException::new);
    }
@Test
    void 게시글이_없으면_에외를_발생시킨다() {
        // when & then
        assertThatThrownBy(() -> boardQueryService.findBoardById(1L, 1L))
                .isInstanceOf(BoardNotFoundException.class);
    }