@Test
public void expectConfiguredBlockedHostIsBlocked() {

    final HostValidator underTest = getHostValidatorWithCustomResolver(HostValidatorTest::resolveHost);
    final HostValidationResult validationResult = underTest.validateHost("eclipse.org");
    assertThat(validationResult.isValid()).isFalse();
    assertThat(validationResult.toException(DITTO_HEADERS).getDittoHeaders()).isEqualTo(DITTO_HEADERS);
}