@Test
public void testSleepUntil() {

	Time t = new Time(((double) System.currentTimeMillis() + 500) / 1000.0);
	assertTrue(Time.sleepUntil(t));
	assertTrue(greaterThanEquals(System.currentTimeMillis(), t.toDate()
			.getTime()));
}