### Question:
MyLinkedList implements MyList { @Override public boolean isEmpty() { 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 isEmpty() throws Exception { MyList list = new MyLinkedList(); assertTrue(list.isEmpty()); list.add(1); assertFalse(list.isEmpty()); }