@Test(expected = ListException.class) public void removeFirst_Empty() throws Exception { MyList list = new MyLinkedList(); list.removeFirst(); }
@Override public int removeFirst() throws ListException { throw new UnsupportedOperationException(); }
MyLinkedList implements MyList { @Override public int removeFirst() throws ListException { throw new UnsupportedOperationException(); } }
MyLinkedList implements MyList { @Override public int removeFirst() throws ListException { throw new UnsupportedOperationException(); }  }
MyLinkedList implements MyList { @Override public int removeFirst() throws ListException { throw new UnsupportedOperationException(); }  @Override int get(int pos); @Override void add(int val); @Override int removeFirst(); @Override int size(); @Override boolean isEmpty(); }
MyLinkedList implements MyList { @Override public int removeFirst() throws ListException { throw new UnsupportedOperationException(); }  @Override int get(int pos); @Override void add(int val); @Override int removeFirst(); @Override int size(); @Override boolean isEmpty();  }