public void contextsWithHyphensWorkInFormattedSql() throws Exception {
if (database == null) {
return;
}
Liquibase liquibase = createLiquibase("changelogs/common/sqlstyle/formatted.changelog.sql");
liquibase.update("hyphen-context-using-sql,camelCaseContextUsingSql");
SnapshotGeneratorFactory tableSnapshotGenerator = SnapshotGeneratorFactory.getInstance();
assertNotNull(tableSnapshotGenerator.has(new Table().setName("hyphen_context"), database));
assertNotNull(tableSnapshotGenerator.has(new Table().setName("camel_context"), database));
assertNotNull(tableSnapshotGenerator.has(new Table().setName("bar_id"), database));