	@Test
	public void testEarlier2() {

		
		Optional<Date> o = Optional.of(new Date(10L));
		Date d = new Date(0L);
		
		Date returned = ValidatorMain.getEarliestDate(o, d);
		
		assertSame(d, returned);
	}