powermock单元测试

179 阅读1分钟

maven 依赖


配置


controller 层 使用


模拟对象

注入对象为空,手动注入对象