diff --git a/놀이터(예제 코드 작성)/learn-with-making-clean-architecture/src/test/kotlin/com/banjjoknim/cleanarchitecture/user/pojo/NicknameTest.kt b/놀이터(예제 코드 작성)/learn-with-making-clean-architecture/src/test/kotlin/com/banjjoknim/cleanarchitecture/user/pojo/NicknameTest.kt deleted file mode 100644 index 7afcacd..0000000 --- a/놀이터(예제 코드 작성)/learn-with-making-clean-architecture/src/test/kotlin/com/banjjoknim/cleanarchitecture/user/pojo/NicknameTest.kt +++ /dev/null @@ -1,24 +0,0 @@ -package com.banjjoknim.cleanarchitecture.user.pojo - -import org.junit.jupiter.api.DisplayName -import org.junit.jupiter.api.Nested -import org.junit.jupiter.api.Test -import org.junit.jupiter.api.assertDoesNotThrow -import org.junit.jupiter.api.assertThrows - -class NicknameTest { - - @DisplayName("닉네임 생성 테스트") - @Nested - inner class ChangeNicknameTestCases { - @Test - fun `10글자 이내이면 닉네임을 생성할 수 있다`() { - assertDoesNotThrow { Nickname("banjjoknim") } - } - - @Test - fun `10글자가 넘으면 닉네임을 생성할 경우 예외가 발생한다`() { - assertThrows { Nickname("i'm banjjoknim") } - } - } -}