2930313233343536
Thread.sleep(1); } catch (InterruptedException e) { fail("unable to sleep"); } CoffeeState b = new CoffeeState(1); assertTrue(b.newerThan(a)); } }