public static Member createDefaultRole(
            final String email,
            final String password,
            final NicknameGenerator nicknameGenerator
    ) {
        return Member.builder()
                .email(email)
                .password(password)
                .nickname(nicknameGenerator.createRandomNickname())
                .memberRole(MemberRole.MEMBER)
                .build();
    }
@Test
    void 회원가입시_기본적으로_MEMBER_ROLE과_랜덤한_닉네임으로_생성된다() {
        // when
        Member member = createDefaultRole("email@email.com", "password", nicknameGenerator);

        // then
        assertSoftly(softly -> {
            softly.assertThat(member.getMemberRole()).isEqualTo(MemberRole.MEMBER);
            softly.assertThat(member.getNickname()).isEqualTo("nickname");
        });
    }