public void validateAuth(final Long memberId) {
        if (!this.id.equals(memberId)) {
            throw new MemberAuthInvalidException();
        }
    }
@Test
    void 멤버가_일치하는지_확인한다() {
        // given
        Member member = Member.builder()
                .id(1L)
                .build();

        // when & then
        assertDoesNotThrow(() -> member.validateAuth(member.getId()));
    }