### Question:
BlockingQueue { public synchronized void close() { closed = true; notifyAll(); }  synchronized void enqueue(Object o); synchronized void requeue(Object o); synchronized Object dequeue(); synchronized Object dequeue(long timeout); synchronized void close(); synchronized int consumerCount(); synchronized int consumerDeficit(); synchronized boolean ready(); synchronized int pending(); LinkedList getQueue(); void setQueue(LinkedList queue);  }### Answer:
@Test public void testClose() { BlockingQueue blockingQueue = new BlockingQueue(); blockingQueue.close(); assertFalse(blockingQueue.ready(), "blockingQueue.ready()"); }