이상태로 junit5에서 사용불가하다
그래서 동일시 사용하는 방법은 아래 그림과 같다.
https://www.arhohuttunen.com/junit-5-mockito/
Using Mockito With JUnit 5 | Arho Huttunen
Learn how to use the Mockito mocking framework with JUnit 5. Learn both the test framework independent way, and using the Mockito JUnit 5 extension.
www.arhohuttunen.com
'웹 > Spring' 카테고리의 다른 글
웹 로드맵 (0) | 2022.09.13 |
---|---|
WebSecurityConfigurerAdapter 사용 불가 (0) | 2022.09.01 |
httpie '<' 연산자는 나중에 사용하도록 예약되어 있습니다. (0) | 2022.08.16 |
@Test(expected=class) junit5에서 사용법 (0) | 2022.08.10 |
webPack vue spring으로 빌드하는 방법 (0) | 2022.07.26 |