0 Replies Latest reply on Jul 22, 2013 3:12 AM by sm4

    JSFUnit + Seam + Arquillian - test FacesMessages

    sm4

      I have a Seam bean that uses org.jboss.seam.faces.FacesMessages class, method addFromResourceBundleOrDefault(). I used to have a SeamTest class that that invoked a method in invokeAction() method and tested the message was correctly added in renderResponse() method of the FacesRequest() class. It worked very well. After switching to Arquillian and JSFUnit, I use @InitialPage to invoke a request to a page. How can invoke an action and check the added message?