摘要: 1、使用junit测试@RunWith(MockitoJUnitRunner.class) // 使用注解或者initMocks 注入mock public class TestJunit { @Mock TestDao testDao; @InjectMocks TestService testS 阅读全文
posted @ 2021-06-29 21:58 炼金术士0z 阅读(125) 评论(0) 推荐(0)