The MockMVC class allows tests to be run against a real Spring application context without actually having to run the complete application in a Servlet container
Stuart 'Stevie' Leitch on Software Development, Java Technologies, Security and Testing