@Test public void testPut() throws InterruptedException { try { deque.put(null); fail("Not supposed to get here"); } catch ( NullPointerException e) { } deque.put(ONE); deque.put(TWO); }