### Question:
DateFunction implements Function { @Override public final CharSequence getSymbol(Record rec) { throw new UnsupportedOperationException(); } DateFunction(int position); @Override Long256 getLong256A(Record rec); @Override Long256 getLong256B(Record rec); @Override char getChar(Record rec); @Override final BinarySequence getBin(Record rec); @Override long getBinLen(Record rec); @Override final boolean getBool(Record rec); @Override final byte getByte(Record rec); @Override final double getDouble(Record rec); @Override final float getFloat(Record rec); @Override final int getInt(Record rec); @Override final long getLong(Record rec); @Override RecordMetadata getMetadata(); @Override int getPosition(); @Override RecordCursorFactory getRecordCursorFactory(); @Override final short getShort(Record rec); @Override final CharSequence getStr(Record rec); @Override final void getStr(Record rec, CharSink sink); @Override final CharSequence getStrB(Record rec); @Override final int getStrLen(Record rec); @Override final CharSequence getSymbol(Record rec); @Override final long getTimestamp(Record rec); @Override void getLong256(Record rec, CharSink sink); @Override final int getType();  }### Answer:
@Test(expected = UnsupportedOperationException.class) public void testGetSym() { function.getSymbol(null); }