A little background:
I am Using Spring 2.5, and specifically Spring IOC and annotations.
I am using @Autowired in my code (the Autowiring is don
@Autowired
Use ReflectionTestUtils to manually set the Mock in place of the autowired dependency (for that purpose your mock must not be spring managed, so that no ambiguity exists)