code: public void addMisMatch(String name, String expected, String actual) {
          result = "NOK";
          Mismatch mismatch = new Mismatch();
          mismatch.name = name;
          mismatch.expected = expected;
          mismatch.actual = actual;
          mismatches.add(mismatch);
      }
docs: Adds a mismatch to this result.
  @param name name of value.
  @param expected expected value.
  @param actual value of XPath expression.