code: public static void createJUnitYAMLishData(TestResult testResult,
              String message, String severity, String source, String datetime,
              String file, String line, String name, String error,
              String backtrace) {
          final Map<String, Object> yamlish = testResult.getDiagnostic();
  
          // Root namespace
  
          createYAMLishMessage(yamlish, message);
          createYAMLishSeverity(yamlish, severity);
          createYAMLishSource(yamlish, source);
          createYAMLishDatetime(yamlish, datetime);
          createYAMLishFile(yamlish, file);
          createYAMLishLine(yamlish, line);
          createYAMLishName(yamlish, name);
          createYAMLishError(yamlish, error);
          createYAMLishBacktrace(yamlish, backtrace);
      }
docs: <p>
  Inserts JUnit YAMLish diagnostic information into a TAP TestResult.
  </p>
  <p>
  For more about TAP YAMLish diagnostic read this <a
  href="http://testanything.org/wiki/index.php/YAMLish">Wiki</a>.
  </p>
  
  @param testResult TAP TestResult
  @param message
  @param severity
  @param source
  @param datetime
  @param file
  @param line
  @param name
  @param error
  @param backtrace