### Question:
CountLatch { public void await() throws InterruptedException { sync.acquireSharedInterruptibly(1); } CountLatch(); void increment(); void decrement(); int getCount(); void await(); boolean await(long timeout, TimeUnit unit);  }### Answer:
@Test public void testNoWaitInitially() throws InterruptedException { CountLatch countLatch = new CountLatch(); assertTrue(countLatch.await(10, TimeUnit.MILLISECONDS)); }