*/
public void notifyAfterTestMethod(Object testInstance, Method method, Object[] arguments, TestMethodResult testResult) {
for (int i = 0; i < powerMockTestListeners.length; i++) {
final PowerMockTestListener testListener = powerMockTestListeners[i];
try {
testListener.afterTestMethod(testInstance, method, arguments, testResult);
} catch (Exception e) {
throw new RuntimeException(String.format(ERROR_MESSAGE_TEMPLATE, "afterTestMethod", testListener), e);
}
}
}