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
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