I would like to inject a Mockito mock object into a Spring (3+) bean for the purposes of unit testing with JUnit. My bean dependencies are currently injected by using the
this ^ works perfectly well if declared first/early in the XML file. Mockito 1.9.0/Spring 3.0.5