    @Test
    void invalid_url() {


        // given
        final ExternalDescriptionLoader loader = new ExternalDescriptionLoader(LANGUAGE_KEY);
        final NewRule rule = repository.createRule("ruleWithoutExternalInfo").setName("name1");

        // when
        final Throwable thrown = catchThrowable(() -> loader.addHtmlDescription(rule, new URL("file:///xx/yy")));

        // then
        assertThat(thrown).isInstanceOf(IllegalStateException.class);
    }