@Test
void tryGetMalformedURL() {

    final TrustedCertEntityBuilder builder = new TrustedCertEntityBuilder(new IdGenerator(), null, certFact);
    assertThrows(EntityBuilderException.class, () -> builder.getUrl("ttps://malformed.url.com"));
}