public void testThatDequeueOnEmptyThrowsIndexOutOfBoundsException() {
    boolean exceptionOccurred = false;

    try {
      Agent o = q.dequeue();
    } catch (java.util.NoSuchElementException e) {
      exceptionOccurred = true;
    }

    Assert.assertTrue(exceptionOccurred);
  }