dcsimg
How to test void methods?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Roshani_Pandey
Posted On:   Tuesday, July 2, 2002 12:08 PM

Hi, I am trying to test this void method sendWithAttachments(String smtpHost, String from, String fromName, String[] to, String subject, String message, Vector attach, String contentType) that sends an email message with attachments. It first calls a prepareMsg method that returns the message and then,it sets up the attachment and sends the email. Now, how do I check if the email message was sent with the attachments or not. I would really appreciate your help on this.

Re: How to test void methods?

Posted By:   Christopher_Koenigsberg  
Posted On:   Tuesday, July 2, 2002 01:04 PM

You go and check the destination mailbox?

About | Sitemap | Contact