@Test
 public void testDeQueue() {
   q.enQueue(new Integer(1));
   q.enQueue(new Integer(2));
   q.enQueue(new Integer(3));
   assertEquals(1, q.deQueue());
   assertEquals(2, q.deQueue());
   assertEquals(3, q.deQueue());
 }
 @Test
 public void testIsFull() {
   assertFalse(q.isFull());
   q.enQueue(new Integer(1));
   q.enQueue(new Integer(1));
   q.enQueue(new Integer(1));
   q.enQueue(new Integer(1));
   q.enQueue(new Integer(1));
   assertTrue(q.isFull());
 }
 @Test(expected = RuntimeException.class)
 public void testEnQueueThrowsException() {
   q.enQueue(new Integer(1));
   q.deQueue();
   q.enQueue(new Integer(1));
   q.enQueue(new Integer(1));
   q.enQueue(new Integer(1));
   q.enQueue(new Integer(1));
   q.enQueue(new Integer(1));
   q.enQueue(new Integer(1));
 }
 @Test(expected = RuntimeException.class)
 public void testDeQueueThrowsException() {
   q.deQueue();
 }