private void runPostProcessors(List<PostProcessor> extractors) {
ListIterator<PostProcessor> iter;
if (reversePostProcessors) {// Original (rather odd) behaviour
iter = extractors.listIterator(extractors.size());// start at the end
while (iter.hasPrevious()) {
PostProcessor ex = iter.previous();
TestBeanHelper.prepare((TestElement) ex);
ex.process();
}
} else {
iter = extractors.listIterator(); // start at the beginning
while (iter.hasNext()) {
PostProcessor ex = iter.next();
TestBeanHelper.prepare((TestElement) ex);
ex.process();
}
}
}