final CountDownLatch latch = new CountDownLatch(1);
lock.lock();
condition.signal();
lock.unlock();
createThreadWaitsForCondition(latch, lock, condition, null).start();
// if the thread is still waiting, then the signal is not stored.
assertFalse(latch.await(3000, TimeUnit.MILLISECONDS));
}