FileStatus fourDaysStat = mock(FileStatus.class);
when(fourDaysStat.getModificationTime()).thenReturn(NOW - (4l * MIN));
when(fourDaysStat.toString()).thenReturn("fourDays");
fs.setFileStatus("fourDays", fourDaysStat);
fourDays = new PathData("fourDays", conf);
FileStatus fiveDaysStat = mock(FileStatus.class);
when(fiveDaysStat.getModificationTime()).thenReturn(NOW - (5l * MIN));
when(fiveDaysStat.toString()).thenReturn("fiveDays");
fs.setFileStatus("fiveDays", fiveDaysStat);
fiveDays = new PathData("fiveDays", conf);
FileStatus fiveDaysMinus1Stat = mock(FileStatus.class);
when(fiveDaysMinus1Stat.getModificationTime()).thenReturn(NOW - ((5l * MIN) - 1));
when(fiveDaysMinus1Stat.toString()).thenReturn("fiveDaysMinus");
fs.setFileStatus("fiveDaysMinus", fiveDaysMinus1Stat);
fiveDaysMinus = new PathData("fiveDaysMinus", conf);
FileStatus sixDaysStat = mock(FileStatus.class);
when(sixDaysStat.getModificationTime()).thenReturn(NOW - (6l * MIN));
when(sixDaysStat.toString()).thenReturn("sixDays");
fs.setFileStatus("sixDays", sixDaysStat);
sixDays = new PathData("sixDays", conf);
FileStatus sixDaysMinus1Stat = mock(FileStatus.class);
when(sixDaysMinus1Stat.getModificationTime()).thenReturn(NOW - ((6l * MIN) - 1));
when(sixDaysMinus1Stat.toString()).thenReturn("fiveDaysPlus");
fs.setFileStatus("fiveDaysPlus", sixDaysMinus1Stat);
fiveDaysPlus = new PathData("fiveDaysPlus", conf);
}