@Override
  public void init(DatabaseMetaData metaData) throws SQLException {
    checkDbVersion(metaData, MIN_SUPPORTED_VERSION);
    checkDriverVersion(metaData);
  }
@Test
  void test_driver_versions() throws Exception {
    DatabaseMetaData metadata = newMetadata( 19, 2, "18.3.0.0.0");
    underTest.init(metadata);

    metadata = newMetadata(19, 2, "12.2.0.1.0");
    underTest.init(metadata);
    // no error

    metadata = newMetadata(19, 2, "12.1.0.2.0");
    underTest.init(metadata);
    // no error

    metadata = newMetadata(19, 2, "12.1.0.1.0");
    underTest.init(metadata);
    // no error

    metadata = newMetadata(19, 2, "12.0.2");
    underTest.init(metadata);
    // no error

    metadata = newMetadata(19, 2, "11.1.0.2");
    try {
      underTest.init(metadata);
      fail();
    } catch (MessageException e) {
      assertThat(e).hasMessage("Unsupported Oracle driver version: 11.1.0.2. Minimal supported version is 12.1.");
    }
  }