@Test public void serialized_AddUniqueKeyConstraint() { AddUniqueConstraintChange change = new AddUniqueConstraintChange(); assertEquals("addUniqueConstraint:[]", new StringChangeLogSerializer().serialize(change)); change.setTableName("TABLE_NAME"); change.setColumnNames("COL1, COL2"); change.setSchemaName("BASE_SCHEM"); change.setConstraintName("FK_TEST"); change.setDeferrable(true); change.setInitiallyDeferred(true); change.setDisabled(true); change.setTablespace("TABLESPACE1"); assertEquals("addUniqueConstraint:[\n" + " columnNames=\"COL1, COL2\"\n" + " constraintName=\"FK_TEST\"\n" + " deferrable=\"true\"\n" + " disabled=\"true\"\n" + " initiallyDeferred=\"true\"\n" + " schemaName=\"BASE_SCHEM\"\n" + " tableName=\"TABLE_NAME\"\n" + " tablespace=\"TABLESPACE1\"\n" + "]", new StringChangeLogSerializer().serialize(change)); }
public String serialize(DatabaseChangeLog databaseChangeLog) { return null; }
StringChangeLogSerializer implements ChangeLogSerializer { public String serialize(DatabaseChangeLog databaseChangeLog) { return null; } }
StringChangeLogSerializer implements ChangeLogSerializer { public String serialize(DatabaseChangeLog databaseChangeLog) { return null; }  }
StringChangeLogSerializer implements ChangeLogSerializer { public String serialize(DatabaseChangeLog databaseChangeLog) { return null; }  String[] getValidFileExtensions(); String serialize(DatabaseChangeLog databaseChangeLog); String serialize(Change change); String serialize(SqlVisitor visitor); String serialize(ColumnConfig columnConfig); String serialize(ChangeSet changeSet); void write(List<ChangeSet> changeSets, OutputStream out); }
StringChangeLogSerializer implements ChangeLogSerializer { public String serialize(DatabaseChangeLog databaseChangeLog) { return null; }  String[] getValidFileExtensions(); String serialize(DatabaseChangeLog databaseChangeLog); String serialize(Change change); String serialize(SqlVisitor visitor); String serialize(ColumnConfig columnConfig); String serialize(ChangeSet changeSet); void write(List<ChangeSet> changeSets, OutputStream out);  }