mock调用返回值是void类型 //调用void方法 doNothing().when(templateWrapper).process();// doCallRealMethod().when(templateWrapper).process();