code: public static void assertTree(String rootText, String preorder, ParseResults parseResults)
      {
          assertTree(rootText, preorder, parseResults.getTree());
      }
docs: Asserts a parse tree.
  
  @param rootText     the text of the root of the tree.
  @param preorder     the preorder traversal of the tree.
  @param parseResults a helper class