3. 在SpringBoot 單元測試中使用Mockito. 首先在pom.xml 下新增spring-boot-starter-test 依賴,該依賴內就有包含了JUnit、Mockito.
確定! 回上一頁