"pete.muir at jboss.org" wrote : You need to be in a FacesRequest for this to work. But I want to do a simple unit testing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117648#4117648 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117648