### Question:
ExportOptionsModel extends Observable { public void setSelectedColorFormat(ColorFormat selectedColorFormat) { boolean changed = !Objects.equals(mySelectedColorFormat, selectedColorFormat); if (changed) { mySelectedColorFormat = selectedColorFormat; setChanged(); notifyObservers(SELECTED_COLOR_FORMAT_PROP); } }  List<ColorFormat> getColorFormats(); List<LatLonFormat> getLatLonFormats(); ColorFormat getSelectedColorFormat(); LatLonFormat getSelectedLatLonFormat(); boolean isAddWkt(); boolean isIncludeMetaColumns(); boolean isSelectedRowsOnly(); boolean isSeparateDateTimeColumns(); void setAddWkt(boolean addWkt); void setIncludeMetaColumns(boolean includeMetaColumns); void setSelectedColorFormat(ColorFormat selectedColorFormat); void setSelectedLatLonFormat(LatLonFormat selectedLatLonFormat); void setSelectedRowsOnly(boolean selectedRowsOnly); void setSeparateDateTimeColumns(boolean separateDateTimeColumns); static final String ADD_WKT_PROP; static final String INCLUDE_META_COLUMNS_PROP; static final String SELECTED_COLOR_FORMAT_PROP; static final String SELECTED_LAT_LON_FORMAT_PROP; static final String SELECTED_ROWS_ONLY_PROP; static final String SEPERATE_DATE_TIME_COLUMNS_PROP; }### Answer:
@Test public void testSetSelectedColorFormat() { EasyMockSupport support = new EasyMockSupport(); Observer observer = createObserver(support, ExportOptionsModel.SELECTED_COLOR_FORMAT_PROP); support.replayAll(); ExportOptionsModel model = new ExportOptionsModel(); model.addObserver(observer); assertEquals(ColorFormat.HEXADECIMAL, model.getSelectedColorFormat()); model.setSelectedColorFormat(ColorFormat.RGB_CODED); assertEquals(ColorFormat.RGB_CODED, model.getSelectedColorFormat()); support.verifyAll(); }