You're welcome. As a general solution to invoking e-mails from test code, I use
this:
import java.io.IOException;
|
| import javax.faces.context.FacesContext;
|
| import org.jboss.seam.InterceptionType;
| import org.jboss.seam.ScopeType;
| import org.jboss.seam.annotations.Install;
Works. Many thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046488#4046488
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046488
___
jboss-user mailing list
jboss-user
Add your mock class to your test package and annotate it with the following:
@Install(precedence=MOCK)
More info in Seam reference section 26.2.1. "Using mocks in integration tests".
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046464#4046464
Reply to the