Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 문자열 리터럴
- django-crontab
- functional interface
- java.util.function
- task_struct
- FunctionalInterface
- python-socketio
- none이미지
- custom annotation
- Spring
- AOP
- 도커
- sql-mappler
- @Header
- Thread Multiplexing
- OS
- spring-data-jpa
- SystemCall
- 롬복주의점
- 운영체제
- Process
- hiberbate
- Thread Library
- rainbow table
- 쓰레드 라이브러리
- 프로세스
- ReflectUtils
- 함수형 인터페이스
- 문자열 불변성
- strict stubbing
Archives
- Today
- Total
목록strict stubbing (1)
JH's Develog

객체를 저장하는 Service의 유닛 테스트 중 발생한 Strict Stubbing 문제와 해결법에 대한 포스팅입니다. 문제가 발생한 상황 ... @InjectMocks private NoteBookService sut; @Mock private NoteBookRepository noteBookRepository; @Mock private NoteRepository noteRepository; ... @Test void givenNormalNoteBook_whenCreateNoteBook_thenReturnOK(){ //Given NoteBookDto noteBookDto = createNormalNoteBookDto("notebook 1"); User user = createUser("user1"); ..
Spring
2022. 5. 12. 00:29