Package liquibase.diff

Source Code of liquibase.diff.DiffGeneratorFactoryTest

package liquibase.diff;

import liquibase.database.core.H2Database;
import liquibase.diff.core.StandardDiffGenerator;
import liquibase.exception.DatabaseException;
import org.junit.Test;

import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;

public class DiffGeneratorFactoryTest {
  @Test
  public void getGenerator() throws DatabaseException {
        DiffGenerator generator = DiffGeneratorFactory.getInstance().getGenerator(new H2Database(), new H2Database());
        assertNotNull(generator);
        assertTrue(generator instanceof StandardDiffGenerator);
    }
}
TOP

Related Classes of liquibase.diff.DiffGeneratorFactoryTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.