What is the best practice way to do unit testing with Spring? I assume the combination TestNG & jmockit with Spring 3 isn\'t bad, so that\'s what I\'m doing right now, b
Your test ckass needs to extend AbstractTestNGSpringContextTests. Or if your code is testing database acces another useful class to extend is AbstractTransactionalTestNGSpringContextTests.