### Question:
PreMalletParallelization extends Thread { String parse(String wikiOrigText, WikiIDTitlePair id_title, boolean csvOrReadable) throws CompilerException, LinkTargetException, EngineException { WikiConfig config = DefaultConfigEn.generate(); WtEngineImpl engine = new WtEngineImpl(config); PageTitle pageTitle = PageTitle.make(config, id_title.getWikiTitle()); PageId pageId = new PageId(pageTitle, -1); EngProcessedPage cp = engine.postprocess(pageId, wikiOrigText, null); TextConverter p = new TextConverter(config, wrapCol); p.setCsvOrReadable(csvOrReadable); return (String) p.go(cp.getPage()); } PreMalletParallelization();  PreMalletParallelization(List<WikiIDTitlePair> articleNames, Properties prop);  PreMalletParallelization(List<WikiIDTitlePair> articleNames, Properties prop, ThreadGroup tg,
			String threadName); void setOnlyOneOutputParameter(boolean bool); @Override void run(); static final String endOfDocumentInSQLOutput; }### Answer:
@Ignore @Test public void testParsedTextReadable() throws CompilerException, LinkTargetException, EngineException { String test = this.parsedWikiTextReadable; if (test.endsWith("\n")) { test = test.substring(0, test.length() - 1); } String test2; test2 = this.pm.parse(inputWikiOriginal, new WikiIDTitlePair(0, "test"), false); assertThat(test2).isEqualTo(test); }
@Ignore @Test public void testParsedTextByLine() throws CompilerException, LinkTargetException, EngineException { String test = this.outputParsed; if (test.endsWith("\n")) { test = test.substring(0, test.length() - 1); } String test2; test2 = this.pm.parse(inputWikiOriginal, new WikiIDTitlePair(0, "test"), true); assertThat(test2).isEqualTo(test); }