@Test
public void testMultiFileInput() throws Exception {

	hadoopCommand = "-if %s -o %s -om %s -ro %s -m %s -j %s -t 1";
	File inputList = folder.newFile("inputs-testMultiFileInput.txt");
	PrintWriter listWriter = new PrintWriter(new FileWriter(inputList));
	listWriter.println(jsonTweets.getAbsolutePath());
	listWriter.println(stemmedTweets.getAbsolutePath());
	listWriter.flush();
	listWriter.close();
	String command = String.format(hadoopCommand,
			inputList.getAbsolutePath(), outputLocation.getAbsolutePath(),
			"WORD_STATS", resultsOutputLocation.getAbsolutePath(), "DFIDF",
			"analysis.stemmed");
	String[] args = command.split(" ");
	args = (String[]) ArrayUtils.addAll(args, new String[] { "-pp",
			"-m PORTER_STEM" });
	HadoopTwitterTokenTool.main(args);
	HashMap<String, IndependentPair<Long, Long>> wordLineCounts = WordIndex
			.readWordCountLines(resultsOutputLocation.getAbsolutePath());
	assertTrue(wordLineCounts.get(".").firstObject() == 24);
}