@Override
    public Iterator<E> iterator() {
        throw new UnsupportedOperationException();
    }
@Test(expected = UnsupportedOperationException.class)
    public void testIterator() {
        queue.iterator();
    }