Program: 11993
Project: 11993
Buggy source:
static String getInstantiationSourceCode(Configuration config,TestMethodMeta testMethodMeta){
  Assertion.mustNotBeNull(config,"String_Node_Str");
  Assertion.mustNotBeNull(testMethodMeta,"String_Node_Str");
  if (config.isExtensionEnabled && config.extConfiguration.extInstantiations != null) {
    for (    ExtInstantiation ins : config.extConfiguration.extInstantiations) {
      if (isCanonicalClassNameUsed(ins.canonicalClassName,testMethodMeta.classMeta.name,testMethodMeta.classMeta)) {
        for (        String newImport : ins.importList) {
          testMethodMeta.classMeta.importedList.add(newImport);
        }
        StringBuilder buf=new StringBuilder();
        if (ins.preAssignCode != null && ins.preAssignCode.trim().length() > 0) {
          buf.append(StringValue.Tab);
          buf.append(StringValue.Tab);
          String[] lines=ins.preAssignCode.split(StringValue.Semicolon);
          for (          String line : lines) {
            buf.append(line);
            buf.append(StringValue.Semicolon);
          }
          buf.append(StringValue.CarriageReturn);
          buf.append(StringValue.LineFeed);
        }
        buf.append(StringValue.Tab);
        buf.append(StringValue.Tab);
        buf.append(testMethodMeta.classMeta.name);
        buf.append("String_Node_Str");
        buf.append(ins.assignCode);
        buf.append(StringValue.CarriageReturn);
        buf.append(StringValue.LineFeed);
        if (ins.postAssignCode != null && ins.postAssignCode.trim().length() > 0) {
          buf.append(StringValue.Tab);
          buf.append(StringValue.Tab);
          String[] lines=ins.postAssignCode.split(StringValue.Semicolon);
          for (          String line : lines) {
            buf.append(line);
            buf.append(StringValue.Semicolon);
          }
          buf.append(StringValue.CarriageReturn);
          buf.append(StringValue.LineFeed);
        }
        return buf.toString();
      }
    }
  }
  return new DefaultConstructorGenerator().getFirstInstantiationSourceCode(testMethodMeta.classMeta);
}

Fixed version (ground truth):
static String getInstantiationSourceCode(Configuration config,TestMethodMeta testMethodMeta){
  Assertion.mustNotBeNull(config,"String_Node_Str");
  Assertion.mustNotBeNull(testMethodMeta,"String_Node_Str");
  if (config.isExtensionEnabled && config.extConfiguration.extInstantiations != null) {
    for (    ExtInstantiation ins : config.extConfiguration.extInstantiations) {
      if (isCanonicalClassNameUsed(ins.canonicalClassName,testMethodMeta.classMeta.name,testMethodMeta.classMeta)) {
        for (        String newImport : ins.importList) {
          testMethodMeta.classMeta.importedList.add(newImport);
        }
        StringBuilder buf=new StringBuilder();
        if (ins.preAssignCode != null && ins.preAssignCode.trim().length() > 0) {
          String[] lines=ins.preAssignCode.split(StringValue.Semicolon);
          for (          String line : lines) {
            buf.append(StringValue.Tab);
            buf.append(StringValue.Tab);
            line=line.trim().replaceAll(StringValue.CarriageReturn,"String_Node_Str").replaceAll(StringValue.LineFeed,"String_Node_Str");
            buf.append(line);
            buf.append(StringValue.Semicolon);
            buf.append(StringValue.CarriageReturn);
            buf.append(StringValue.LineFeed);
          }
        }
        buf.append(StringValue.Tab);
        buf.append(StringValue.Tab);
        buf.append(testMethodMeta.classMeta.name);
        buf.append("String_Node_Str");
        buf.append(ins.assignCode.trim());
        buf.append(StringValue.CarriageReturn);
        buf.append(StringValue.LineFeed);
        if (ins.postAssignCode != null && ins.postAssignCode.trim().length() > 0) {
          String[] lines=ins.postAssignCode.split(StringValue.Semicolon);
          for (          String line : lines) {
            buf.append(StringValue.Tab);
            buf.append(StringValue.Tab);
            line=line.trim().replaceAll(StringValue.CarriageReturn,"String_Node_Str").replaceAll(StringValue.LineFeed,"String_Node_Str").replaceAll("String_Node_Str","String_Node_Str");
            buf.append(line);
            buf.append(StringValue.Semicolon);
            buf.append(StringValue.CarriageReturn);
            buf.append(StringValue.LineFeed);
          }
        }
        return buf.toString();
      }
    }
  }
  return new DefaultConstructorGenerator().getFirstInstantiationSourceCode(testMethodMeta.classMeta);
}