Search in sources :

Example 1 with StandardDiffGenerator

use of liquibase.diff.core.StandardDiffGenerator in project liquibase by liquibase.

the class DiffGeneratorFactoryTest method getGenerator.

@Test
public void getGenerator() throws DatabaseException {
    DiffGenerator generator = DiffGeneratorFactory.getInstance().getGenerator(new H2Database(), new H2Database());
    assertNotNull(generator);
    assertTrue(generator instanceof StandardDiffGenerator);
}
Also used : StandardDiffGenerator(liquibase.diff.core.StandardDiffGenerator) H2Database(liquibase.database.core.H2Database) StandardDiffGenerator(liquibase.diff.core.StandardDiffGenerator) Test(org.junit.Test)

Aggregations

H2Database (liquibase.database.core.H2Database)1 StandardDiffGenerator (liquibase.diff.core.StandardDiffGenerator)1 Test (org.junit.Test)1