[oneseo] OneseoTempStorageService 테스트 코드 추가 #164
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
개요
원서 임시저장 서비스 테스트 코드를 추가했습니다.
본문
존재하는 회원 id가 주어지고 회원이 원서를 제출하지 않았다면 FoundOneseoResDto를 반환한다.
존재하는 회원 id가 주어지고 회원이 원서를 제출하지 않았다면 ExpectedException을 던진다.
존재하지 않는 회원 ID가 주어지면 ExpectedException을 던진다.
총 3개의 경우를 테스트합니다.
추가 - optional
테스트를 위해 OneseoTempReqDto에 Builder 적용시켰습니다.