sweeeeeet. this looks perfect. exactly what I was looking for.
dean
Mike Kienenberger wrote:
On 3/24/06, Dean Hiller <[EMAIL PROTECTED]> wrote:
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).
Dean,
I would start here at the Shale JSF testing framework:
http://struts.apache.org/struts-shale/features-test-framework.html