Trying to mock or stub an abstract class fails as of groovy 1.8.2 and later (this
works under 1.7.10, 1.8.0, and 1.8.1). This code
The breakage was possibly introduced by the fix for
Also note that this may be related to GROOVY-4255, though I'd expect MockFor and StubFor
to work irrespective of the status of that bug.