@Override public void notifyAfterTestMethod(boolean successful) { final Object test = MockRepository.getAdditionalState(Keys.CURRENT_TEST_INSTANCE); final Method testMethod = MockRepository.getAdditionalState(Keys.CURRENT_TEST_METHOD); final Object[] testArguments = MockRepository.getAdditionalState(Keys.CURRENT_TEST_METHOD_ARGUMENTS); final TestMethodResult testResult = new TestMethodResultImpl((successful ? Result.SUCCESSFUL : Result.FAILED)); notifyAfterTestMethod(test, testMethod, testArguments, testResult); } }