@Test
public void testGetRangeFromCurrentDay() {

	TimeZone timeZone = TimeZoneUtil.getDefault();
	ModifiedFacetCalendarDisplayBuilder
		modifiedFacetCalendarDisplayBuilder = createDisplayBuilder(
			timeZone);
	ModifiedFacetCalendarDisplayContext
		modifiedFacetCalendarDisplayContext =
			modifiedFacetCalendarDisplayBuilder.build();
	Calendar todayCalendar = _calendarFactory.getCalendar(timeZone);
	Calendar yesterdayCalendar = (Calendar)todayCalendar.clone();
	yesterdayCalendar.add(Calendar.DAY_OF_MONTH, -1);
	assertFromDateValues(
		yesterdayCalendar.get(Calendar.YEAR),
		yesterdayCalendar.get(Calendar.MONTH),
		yesterdayCalendar.get(Calendar.DAY_OF_MONTH),
		modifiedFacetCalendarDisplayContext);
	assertToDateValues(
		todayCalendar.get(Calendar.YEAR), todayCalendar.get(Calendar.MONTH),
		todayCalendar.get(Calendar.DAY_OF_MONTH),
		modifiedFacetCalendarDisplayContext);
}