public void testGetDefaultDriver() {
    Database database = new OracleDatabase();

    assertEquals(
        "oracle.jdbc.OracleDriver", database.getDefaultDriver("jdbc:oracle:thin:@localhost/XE"));

    assertNull(database.getDefaultDriver("jdbc:db2://localhost;databaseName=liquibase"));
  }
  public void testGetDefaultDriver() {
    Database database = new MySQLDatabase();

    assertEquals(
        "com.mysql.jdbc.Driver", database.getDefaultDriver("jdbc:mysql://localhost/liquibase"));

    assertNull(database.getDefaultDriver("jdbc:db2://localhost;databaseName=liquibase"));
  }
  public void testGetDefaultDriver() {
    Database database = new DerbyDatabase();

    assertEquals(
        "org.apache.derby.jdbc.EmbeddedDriver",
        database.getDefaultDriver("jdbc:derby:liquibase;create=true"));

    assertNull(database.getDefaultDriver("jdbc:oracle://localhost;databaseName=liquibase"));
  }