@Test
public void shouldCheckLinkIsNotOnTime() {

	
	Link outOfTimeLink = new Link();	
	Date yesterday = new Date();
	Calendar cal = Calendar.getInstance(); 
	cal.setTime(yesterday); 
	cal.add(Calendar.DATE, -1);
	yesterday = cal.getTime();
	outOfTimeLink.setInsertDate(yesterday);
	
	boolean isOnTime = sut.isOnTime(outOfTimeLink);
	
	assertThat(isOnTime, is(false));	
}