public void update(final String comment, final Long writerId) {
        validateWriterId(writerId);
        this.content = comment;
    }
@Test
    void 작성자가_다르면_업데이트시_예외를_발생시킨다() {
        // given
        Comment comment = 댓글_생성();
        String edit = "edit";

        // when & then
        assertThatThrownBy(() -> comment.update(edit, comment.getWriterId() + 1))
                .isInstanceOf(CommentWriterNotEqualsException.class);
    }