### Question:
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();  }### Answer:
@Test public void removeFirst() throws Exception { }
@Test(expected = ListException.class) public void removeFirst_Empty() throws Exception { MyList list = new MyLinkedList(); list.removeFirst(); }