public void testAddAll2(){
  try {
    LinkedBlockingQueue q=new LinkedBlockingQueue(SIZE);
    Integer[] ints=new Integer[SIZE];
    q.addAll(Arrays.asList(ints));
    shouldThrow();
  }
 catch (  NullPointerException success) {
  }
}

public void testAddAll2 ( ) { try { LinkedBlockingQueue q = new LinkedBlockingQueue ( SIZE ) ; Integer [ ] ints = new Integer [ SIZE ] ; q . addAll ( Arrays . asList ( ints ) ) ; shouldThrow ( ) ; } catch ( NullPointerException success ) { } }
addall of a collection with null elements throws npe
