public BoardFoundResponse findBoardById(final Long boardId, final Long memberId) {
        return boardRepository.findByIdForRead(boardId, memberId)
                .orElseThrow(BoardNotFoundException::new);
    }
@Test
    void 게시글을_찾는다() {
        // given
        Board savedBoard = boardRepository.save(게시글_생성_사진없음());

        // when
        BoardFoundResponse result = boardQueryService.findBoardById(savedBoard.getId(), 1L);

        // then
        assertSoftly(softly -> {
            softly.assertThat(result.id()).isEqualTo(savedBoard.getId());
            softly.assertThat(result.title()).isEqualTo(savedBoard.getPost().getTitle());
            softly.assertThat(result.content()).isEqualTo(savedBoard.getPost().getContent());
            softly.assertThat(result.likeCount()).isEqualTo(savedBoard.getLikeCount().getLikeCount());
            softly.assertThat(result.isMyPost()).isEqualTo(true);
        });
    }