mockito不会在@beforeall注释的方法中使用junit5初始化模拟运行。如果我将init方法注释更改为@beforeach,它就会工作。测试在intellij idea中运行。 我的测试类:.
確定! 回上一頁