public void testAddAll4(){
  try {
    LinkedBlockingQueue q=new LinkedBlockingQueue(1);
    Integer[] ints=new Integer[SIZE];
    for (int i=0; i < SIZE; ++i)     ints[i]=new Integer(i);
    q.addAll(Arrays.asList(ints));
    shouldThrow();
  }
 catch (  IllegalStateException success) {
  }
}

public void testAddAll4 ( ) { try { LinkedBlockingQueue q = new LinkedBlockingQueue ( 1 ) ; Integer [ ] ints = new Integer [ SIZE ] ; for ( int i = 0 ; i < SIZE ; ++ i ) ints [ i ] = new Integer ( i ) ; q . addAll ( Arrays . asList ( ints ) ) ; shouldThrow ( ) ; } catch ( IllegalStateException success ) { } }
addall throws ise if not enough room
