}
}
private void baseTest(int expectedResult) throws Exception {
Path outputLoc = new Path("/tmp/outPath_" + System.currentTimeMillis());
TestOrderedWordCount wordCount = new TestOrderedWordCount();
wordCount.setConf(new Configuration(miniTezCluster.getConfig()));
String[] args = new String[] { inputLoc.toString(), outputLoc.toString() };
assertEquals(expectedResult, wordCount.run(args));
}