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 |
Tags
- FunctionalInterface
- OS
- 쓰레드 라이브러리
- 함수형 인터페이스
- Process
- java.util.function
- none이미지
- ReflectUtils
- Thread Multiplexing
- Spring
- hiberbate
- python-socketio
- 도커
- 문자열 리터럴
- 프로세스
- spring-data-jpa
- custom annotation
- 문자열 불변성
- django-crontab
- 롬복주의점
- task_struct
- @Header
- AOP
- strict stubbing
- 운영체제
- Thread Library
- sql-mappler
- functional interface
- SystemCall
- rainbow table
Archives
- Today
- Total
목록lenient (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