[jboss-user] [JBoss Seam] - Re: Unit Testing With TestNG

pete.muir@jboss.org do-not-reply at jboss.com
Wed Nov 28 07:14:23 EST 2007


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



More information about the jboss-user mailing list