if (redirectTestOutputToFile) {
outputConsumer = new FileOutputConsumerProxy(outputConsumer, getReportsDirectory());
}
if (!showHeading) {
outputConsumer = new SupressHeaderOutputConsumerProxy(outputConsumer);
}
if (!showFooter) {
outputConsumer = new SupressFooterOutputConsumerProxy(outputConsumer);
}