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