public void patchBoardById(
            final Long boardId,
            final Long memberId,
            final BoardUpdateRequest request
    ) {
        Board board = findBoardWithImages(boardId);
        board.validateWriter(memberId);
        BoardUpdateResult result = board.update(request.title(), request.content(), request.addedImages(), request.deletedImages(), imageConverter);

        imageUploader.upload(result.addedImages(), request.addedImages());
        imageUploader.delete(result.deletedImages());
    }
@Test
    void 게시글_주인이_다르면_수정하지_못한다() {
        // given
        Board savedBoard = boardRepository.save(게시글_생성_사진없음());
        BoardUpdateRequest req = new BoardUpdateRequest("수정", "수정", new ArrayList<>(), new ArrayList<>());

        // when & then
        assertThatThrownBy(() -> boardService.patchBoardById(savedBoard.getId(), savedBoard.getWriterId() + 1, req))
                .isInstanceOf(WriterNotEqualsException.class);
    }