### Question:
ColumnDefinitionRow extends Observable { public void setFormat(String format) { myFormat = format; setChanged(); notifyObservers(FORMAT_PROPERTY); }  int getColumnId(); String getColumnName(); String getDataType(); String getFormat(); boolean isImport(); void setColumnId(int columnId); void setColumnName(String columnName); void setDataType(String dataType); void setFormat(String format); void setIsImport(boolean isImport); static final String COLUMN_NAME_PROPERTY; static final String DATA_TYPE_PROPERTY; static final String FORMAT_PROPERTY; static final String IMPORT_PROPERTY; }### Answer:
@Test public void testSetFormat() { EasyMockSupport support = new EasyMockSupport(); Observer observer = ModelTestUtil.createObserver(support, ColumnDefinitionRow.FORMAT_PROPERTY); support.replayAll(); ColumnDefinitionRow row = new ColumnDefinitionRow(); row.addObserver(observer); String format = "yyyymmdd"; row.setFormat(format); assertEquals(format, row.getFormat()); support.verifyAll(); }