I've looking at writing a set of junits for a web application which is wired up using spring.
I have been thinking of setting up the spring.xml pointed to mock objects in the setup() method.
Any thoughts?