### Question:
PetrifyableTShortArrayList extends AbstractPetrifyable implements PetrifyableTShortList { @Override public void sort() { myList.sort(); } PetrifyableTShortArrayList();  PetrifyableTShortArrayList(int capacity);  PetrifyableTShortArrayList(short[] values);  PetrifyableTShortArrayList(TShortCollection values); @Override boolean add(short val); @Override void add(short[] vals); @Override void add(short[] vals, int offset, int length); @Override boolean addAll(Collection<? extends Short> collection); @Override boolean addAll(short[] array); @Override boolean addAll(TShortCollection collection); @Override int binarySearch(short value); @Override int binarySearch(short value, int fromIndex, int toIndex); @Override void clear(); @Override boolean contains(short value); @Override boolean containsAll(Collection<?> collection); @Override boolean containsAll(short[] array); @Override boolean containsAll(TShortCollection collection); @Override void fill(int fromIndex, int toIndex, short val); @Override void fill(short val); @Override boolean forEach(TShortProcedure procedure); @Override boolean forEachDescending(TShortProcedure procedure); @Override short get(int offset); @Override short getNoEntryValue(); @Override long getSizeBytes(); @Override PetrifyableTShortArrayList grep(TShortProcedure condition); @Override int indexOf(int offset, short value); @Override int indexOf(short value); @Override void insert(int offset, short value); @Override void insert(int offset, short[] values); @Override void insert(int offset, short[] values, int valOffset, int len); @Override PetrifyableTShortArrayList inverseGrep(TShortProcedure condition); @Override boolean isEmpty(); @Override TShortIterator iterator(); @Override int lastIndexOf(int offset, short value); @Override int lastIndexOf(short value); @Override short max(); @Override short min(); @Override synchronized void petrify(); @Override void remove(int offset, int length); @Override boolean remove(short value); @Override boolean removeAll(Collection<?> collection); @Override boolean removeAll(short[] array); @Override boolean removeAll(TShortCollection collection); @Override short removeAt(int offset); @Override short replace(int offset, short val); @Override boolean retainAll(Collection<?> collection); @Override boolean retainAll(short[] array); @Override boolean retainAll(TShortCollection collection); @Override void reverse(); @Override void reverse(int from, int to); @Override short set(int offset, short val); @Override void set(int offset, short[] values); @Override void set(int offset, short[] values, int valOffset, int length); @Override void shuffle(Random rand); @Override int size(); @Override void sort(); @Override void sort(int fromIndex, int toIndex); @Override PetrifyableTShortArrayList subList(int begin, int end); @Override short sum(); @Override short[] toArray(); @Override short[] toArray(int offset, int len); @Override short[] toArray(short[] dest); @Override short[] toArray(short[] dest, int offset, int len); @Override short[] toArray(short[] dest, int sourcePos, int destPos, int len); @Override void transformValues(TShortFunction function);  }### Answer:
@Test(expected = UnsupportedOperationException.class) public void testSortAfterPetrify1() { PETRIFIED_LIST.sort(); }
@Test(expected = UnsupportedOperationException.class) public void testSortAfterPetrify2() { PETRIFIED_LIST.sort(0, 5); }