@Test
public void testMultiFileInputOnlyOutput() throws Exception {

	// Produce one set of processes (no output)
	String firstOuputLocation = this.outputLocation.getAbsolutePath()
			+ "-first";
	String secondOuputLocation = this.outputLocation.getAbsolutePath()
			+ "-second";
	String firstResultsOut = resultsOutputLocation.getAbsolutePath()
			+ "-first";
	String secondResultsOut = resultsOutputLocation.getAbsolutePath()
			+ "-second";
	String commandFirst = String.format(hadoopCommand,
			stemmedTweets.getAbsolutePath(), firstOuputLocation,
			"WORD_STATS", firstResultsOut, "DFIDF", "analysis.stemmed");
	String[] args = commandFirst.split(" ");
	args = (String[]) ArrayUtils.addAll(args, new String[] { "-pp",
			"-m PORTER_STEM" });
	HadoopTwitterTokenTool.main(args);
	String commandSecond = String.format(hadoopCommand,
			stemmedTweets.getAbsolutePath(), secondOuputLocation,
			"WORD_STATS", secondResultsOut, "DFIDF", "analysis.stemmed");
	args = commandSecond.split(" ");
	args = (String[]) ArrayUtils.addAll(args, new String[] { "-pp",
			"-m PORTER_STEM" });
	HadoopTwitterTokenTool.main(args);
	hadoopCommand = "-if %s -om %s -ro %s";
	File inputList = folder
			.newFile("inputs-testMultiFileInputOnlyOutput.txt");
	PrintWriter listWriter = new PrintWriter(new FileWriter(inputList));
	listWriter.println(firstOuputLocation);
	listWriter.println(secondOuputLocation);
	listWriter.flush();
	listWriter.close();
	String command = String.format(hadoopCommand,
			inputList.getAbsolutePath(), "WORD_STATS",
			resultsOutputLocation.getAbsolutePath());
	HadoopTwitterTokenTool.main(command.split(" "));
	HashMap<String, IndependentPair<Long, Long>> wordLineCounts = WordIndex
			.readWordCountLines(resultsOutputLocation.getAbsolutePath());
	assertTrue(wordLineCounts.get(".").firstObject() == 24);
}