{
ByteArrayOutputStream output = new ByteArrayOutputStream();
RecordProgressDecorator dumper = new RecordProgressDecorator(null,output,1,Configuration.getDefaultConfiguration(),false);
Element augmentElement = dumper.writeAugmentPTA(
new ProgressDecorator.AugmentPTAData(RestartLearningEnum.restartSOFT,sequence,true,JUConstants.BLUE));
augmentElement.removeAttribute(StatechumXML.ATTR_KIND.name());
dumper.topElement.appendChild(augmentElement);dumper.close();
xmlData = output.toString();
final LearnerSimulator loader = new LearnerSimulator(new ByteArrayInputStream(xmlData.getBytes()),false);
loader.config = Configuration.getDefaultConfiguration();