Yes, I try to do it in disruption. He keeps the focus of individual testing methods on what they actually test by deleting the template in @After - for me it is important that the tests are as expressive and readable as possible.
In fact, I sometimes take it further, and use the base class JMockSupport , which handles Mockery for me (and also provides convenient implementations of mock(...) ). Of course, this is just convenience and not a requirement at all, as in JUnit 3.
source share