### Question:
SmartScriptParser { public DocumentNode getDocumentNode() { return documentNode; } SmartScriptParser(String toParse); DocumentNode getDocumentNode();  }### Answer:
@Test void testReparsingDocument1() { DocumentNode parsed = runParserOnFile("document1.txt"); assertEquals(parsed, new SmartScriptParser(parsed.toString()).getDocumentNode()); }
@Test void testReparsingDocument2() { DocumentNode parsed = runParserOnFile("document2.txt"); assertEquals(parsed, new SmartScriptParser(parsed.toString()).getDocumentNode()); }
@Test void testReparsingDocument3() { DocumentNode parsed = runParserOnFile("document3.txt"); assertEquals(parsed, new SmartScriptParser(parsed.toString()).getDocumentNode()); }
@Test void testReparsingDocument4() { DocumentNode parsed = runParserOnFile("document4.txt"); assertEquals(parsed, new SmartScriptParser(parsed.toString()).getDocumentNode()); }
@Test void testReparsingDocument5() { DocumentNode parsed = runParserOnFile("document5.txt"); assertEquals(parsed, new SmartScriptParser(parsed.toString()).getDocumentNode()); }
@Test void testReparsingDocument6() { DocumentNode parsed = runParserOnFile("document6.txt"); assertEquals(parsed, new SmartScriptParser(parsed.toString()).getDocumentNode()); }