Take a look at 28 free sample lessons of my Test With Spring course

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