Jutil结合springmock做项目的单元测式
1.首先下载springmock的jar包
2.把springmock.jar加入项目中
3.导入jutil lib包代码如下
1.)首先定义一个测试类的父类AbstractMvcTest
?jutil测试类为:?
?
jutil测试类为: