public void patchLike(final Long boardId, final boolean isIncreaseLike) {
        Board board = findByIdUsingPessimisticLock(boardId);
        board.patchLike(isIncreaseLike);
    }
@Test
    void 게시글이_없다면_좋아요_처리를_못한다() {
        // when & then
        assertThatThrownBy(() -> boardService.patchLike(1L, true))
                .isInstanceOf(BoardNotFoundException.class);
    }