The correct way to deal with this is to do an integration test ;)

Its the FacesMessages.instance() that fails - you need to create a mock 
FacesMessages class if you *really* want to do this. This is because Seam has 
not booted at this point so none of the Seam built in components should be 
expected to work.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108420#4108420

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108420
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to