@Test
public void testDayIsEndOfDay() {

	Date date = new Date();
	ConsentHelper helper = new ConsentHelper();
	Date endOfDay = helper.setDateAsEndOfDay(date);
	
	Calendar today = Calendar.getInstance();
	today.setTime(endOfDay);
	
	assertEquals(today.get(Calendar.HOUR_OF_DAY), 23);
	assertEquals(today.get(Calendar.MINUTE), 59);
	assertEquals(today.get(Calendar.SECOND), 59);
}