code: public String representData(TestSet testSet) {
          StringWriter sw = new StringWriter();
          PrintWriter pw = new PrintWriter(sw);
          printHeader(pw, testSet.getHeader());
          printPlan(pw, testSet.getPlan());
          for (TapElement tapLine : testSet.getTapLines()) {
              printTapLine(pw, tapLine);
          }
          printFooter(pw, testSet.getFooter());
          return sw.toString();
      }
docs: {@inheritDoc}