Are you tired of writing tests which have a lot of boilerplate code? If so, get started with Spock Framework >>

Apache Wicket

Mocking Spring Beans with Apache Wicket And Mockito

Apache Wicket is a component based web application framework which offers good unit testing capabilities. This blog entry describes how you can use those capabilities to mock beans which are injected by using the Spring integration of Apache Wicket