@Test
    public void test() {
        ConnectionUrl url = ConnectionUrl.newInstance(jdbcUrl);
        assertThat(url.getDatabaseType()).as("Database Type is as expected").isEqualTo(databaseType);
        assertThat(url.getImageTag()).as("Image tag is as expected").isEqualTo(tag);
        assertThat(url.getDbHostString()).as("Database Host String is as expected").isEqualTo(dbHostString);
        assertThat(url.getDatabaseName().orElse("")).as("Database Name is as expected").isEqualTo(databaseName);
    }
This Test class validates that all supported JDBC URL's can be parsed by ConnectionUrl class.
modules/jdbc/src/test/java/org/testcontainers/jdbc/ConnectionUrlDriversTests.java