Hi;
For those that hit the same problem - you need to call super.setUp() and super.tearDown() in your setUp/tearDown. Also, servletContext.getRealPath() is not implemented in the mock objects. Is there a reason why it doesn't return the default directory? Finally, I need to determine at one place in my code if I am running as a test or for real. Any suggestions on the best way to do it? Thanks - dave