@Test
void openCorrectUrl() throws IOException {

    var connection = UrlUtil.open(new URL("http://www.google.com"));
    assertSoftly(softly -> {
        softly.assertThat(connection.getReadTimeout())
            .isEqualTo(Settings.INSTANCE.getSocketTimeout()
                .toMillis());
        softly.assertThat(connection.getConnectTimeout())
            .isEqualTo(Settings.INSTANCE.getConnectionTimeout()
                .toMillis());
    });
}