You can't correctly integration test Seam Mail at the moment, because, as Chris says, there is no way to redirect the rendered output to mock object. I think to do this properly we would need to mock out the JavaMail session and allow you to redirect where the rendererd emails were sent (i.e. to an in memory object perhaps). You can create a feature request in JIRA for this and see how popular it is.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076044#4076044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076044 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
