### Question:
CharacterFieldImpl implements Field { @Override public int getListSize() { throw new UnsupportedOperationException("Character fields are not fixed-length lists."); } CharacterFieldImpl(final String fieldName, final long dataLength); @Override long getDataLength(); @Override String getDeclaration(); @Override int getListSize(); @Override String getName(); @Override Structure getStructure(); @Override DataType getType(); @Override String toString();  }### Answer:
@Test(expected = UnsupportedOperationException.class) public void testGetListSize() { field.getListSize(); }