// Exception expected
 @Test
 public void testPopFrontEmpty() throws InvalidAccessException {
   DoubleLinkedList dll = new DoubleLinkedList();
   try {
     dll.popFront();
   } catch (InvalidAccessException ex) {
     return;
   }
   fail("ExceptionExpected");
 }
  @Test
  public void testPopFrontCaunt() throws InvalidAccessException, ValueException {

    DoubleLinkedList dll = new DoubleLinkedList();
    dll.pushFront(5);
    dll.pushFront(6);
    dll.pushFront(7);
    assertEquals(7, dll.popFront());
    assertEquals(2, dll.elements());
  }
  // no Exception expected
  @Test
  public void testPopFront() throws InvalidAccessException, ValueException {

    DoubleLinkedList dll = new DoubleLinkedList();
    dll.pushFront(5);
    dll.pushFront(6);
    try {
      assertEquals(6, dll.popFront());
    } catch (InvalidAccessException ex) {
      fail(ex.getMessage());
    }
  }