阅读背景:

Jmockit How to mock the instance in anonymous class_Eddyx的专栏

来源:互联网 

     I am trying to write junit test against an old sendmail class which uses VelocityEngine and JavaMailSender. There is an anonymous class, it's type is MimeMessagePreparator. The code is as following:     I am trying to write junit test against an




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: