Closed GoogleCodeExporter closed 8 years ago
Workaround is to create a reference to a method, e.g.
final shouldFail = new GroovyTestCase().&shouldFail
Original comment by gousei...@gmail.com
on 26 Mar 2012 at 12:49
@WithGMock only injects the methods related to gmock, but not the methods in
GroovyTestCase. If you need shouldFail(), you have to extend GroovyTestCase.
Original comment by JohnnyJianHY
on 26 Mar 2012 at 12:54
Original issue reported on code.google.com by
gousei...@gmail.com
on 26 Mar 2012 at 12:44