I write my unit tests for my Java application with Groovy, JUnit and EasyMock.
In EasyMock there are several overloaded methods capture()
which have been deprec
Just hit this issue myself using EasyMock 3.0. However it looks like it's been resolved as of EasyMock 3.2 by renaming all the methods that took wrapped primitives and leaving just one remaining capture method.
Check the 3.2 docs for more info: http://easymock.org/api/easymock/3.2/org/easymock/EasyMock.html#capture%28org.easymock.Capture%29
Try to use @CompileStatic of Groovy 2.0 - may be it will resolve your problem