Java单元测试打桩-mockito,PowerMockito简单使用,模拟方法内new对象
0、需要的jar<dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</ver