-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#54] test: Following 인스턴스 add()에 null 입력시 실패 테스트 작성
- Loading branch information
Showing
4 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
src/main/java/com/study/realworld/domain/follow/error/exception/FollowBusinessException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.study.realworld.domain.follow.error.exception; | ||
|
||
public class FollowBusinessException extends RuntimeException { | ||
|
||
public FollowBusinessException(final String message) { | ||
super(message); | ||
} | ||
|
||
} |
11 changes: 11 additions & 0 deletions
11
...in/java/com/study/realworld/domain/follow/error/exception/FollowNullPointerException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.study.realworld.domain.follow.error.exception; | ||
|
||
public class FollowNullPointerException extends FollowBusinessException { | ||
|
||
private static final String MESSAGE = "Follow 가 null 입니다."; | ||
|
||
public FollowNullPointerException() { | ||
super(MESSAGE); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters