weird spring mock error

Thu, Mar 3, 2011

I’ve been looking into a weird Spring testing error from this code:

which threw this exception:

Turns out I was using spring-mock-2.0.8 when in fact I should have been using the new Spring test dependency:

 

comments powered by Disqus