code: protected void writeSummary(TestClassReport testClassReport) throws IOException {
  
          if (isReportMessage(testClassReport)) {
  
              writer.append("[IMPORTANT]").append(NEW_LINE);
              writer.append("====").append(NEW_LINE);
              writer.append(testClassReport.getReportMessage()).append(NEW_LINE);
              writer.append("====").append(NEW_LINE).append(NEW_LINE);
  
          }
  
          int[] results = countSummary(testClassReport.getTestMethodReports());
  
          writer.append(".").append(this.resourceBundle.getString("asciidoc.reporter.testResult")).append(NEW_LINE);
          writer.append("****").append(NEW_LINE);
          writer.append("*").append(this.resourceBundle.getString("asciidoc.reporter.passed")).append("*").append(" ").append(Integer.toString(results[PASSED_INDEX]))
              .append(NEW_LINE).append(NEW_LINE);
          writer.append("*").append(this.resourceBundle.getString("asciidoc.reporter.failed")).append("*").append(" ").append(Integer.toString(results[FAILED_INDEX]))
              .append(NEW_LINE).append(NEW_LINE);
          writer.append("****").append(NEW_LINE).append(NEW_LINE);
  
          writeProperties(testClassReport.getPropertyEntries());
  
      }
docs: Method that is called to write test summary (passed, failed tests) to AsciiDoc document.
  
  @param testClassReport element.
  @throws IOException