Mockito结合JUnit的测试demo Mockito参考文档: https://static.javadoc.io/org.mockito/mockito-core/2.28.2/org/mockito/Mockito.html https://site.mockito.org/ JUnit参考文档: https://junit.org/junit4/ https://github.com/junit-team/junit4/wiki