@Test
public void testIsValidHistFileNameFalse() {

  // Job name doesn't match job regex
  String fileName1 = "application123-1-1-user1-FAILED." + Constants.HISTFILE_SUFFIX;
  // User isn't supposed to be upper-cased
  String fileName2 = "job123-1-1-USER-SUCCEEDED." + Constants.HISTFILE_SUFFIX;
  String jobRegex = "job\\d+";
  assertFalse(ParserUtils.isValidHistFileName(fileName1, jobRegex));
  assertFalse(ParserUtils.isValidHistFileName(fileName2, jobRegex));
}