@Test
public void testReplaceAliasPast24Hours() {

	Calendar calendar = new GregorianCalendar(
		2018, Calendar.MAY, 15, 23, 59, 59);
	Assert.assertEquals(
		"[20180514235959 TO 20180515225959]",
		_dateRangeFactory.replaceAliases(
			"[past-24-hours TO past-hour]", calendar));
}