infinispan/infinispan — pull request #1014 by tristantarrant (2012-03-20 09:01:35+00:00)
Title: ISPN-1906: Use recent test frameworks (TestNG + Surefire)

https://issues.jboss.org/browse/ISPN-1906
Also use ISPN-1906-5.1.x for the stable branch

This replaces EasyMock with Mockito (nicer API and avoids using CGLIB which causes troubles with signed jars)
It upgrades Surefire to the latest stable version
It upgrades TestNG to the latest in the 5.x series (upgrading to 6.x causes failures, this will be addressed in a future commit)