public void patchLike(final Long boardId, final boolean isIncreaseLike) {
        Board board = findByIdUsingPessimisticLock(boardId);
        board.patchLike(isIncreaseLike);
    }
@Test
    void 게시글_좋아요_처리를_한다() {
        // given
        Board savedBoard = boardRepository.save(게시글_생성_사진없음());

        // when
        boardService.patchLike(savedBoard.getId(), true);

        // then
        assertThat(savedBoard.getLikeCount().getLikeCount()).isEqualTo(1);
    }