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