So, I looked into FacesContext and mocking that and it unfortunately is not an interface. A FacesContextFactory.getInstance() call returning an interface would have made life easier since mock libraries mock interfaces very easily. oh well, how can one test a web app where the web app makes calls into an external system which we naturally mock(with a library of course). thanks,
dean

Reply via email to