@Test
void validateExtract() {

    String dbConnUri = new DefaultDbUriExtractor().extract(
            BasePrivateResource.forAbsolutePrivate(
                    URI.create("jdbc-mysql://sa:pazzword@localhost:3306/database/tablename")
            )
    );
    assertThat(dbConnUri).isEqualTo("jdbc:mysql://localhost:3306/database");
}