I was unittesting a class that accepted a SimpleMailMessage, made a copy using the constructor, set a field or two then passed it to a MailSender.
I found that I couldn't easily assert two distinct SimpleMailMessages to be equal since it doesn't implement equals(). Is there any chance it could do so in the future?
Obviously not critical, but it would be handy!
Cheers,
Tim


Reply With Quote