@Test
public void testAllowedBlockedHosts() {

    final HostValidator underTest =
            getHostValidatorWithAllowlist("0.0.0.0", "8.8.8.8", "[::1]", "192.168.0.1", "224.0.1.1");
    // check if allowlist works for fixed (not configured) blocked ips
    assertValid(underTest.validateHost("0.0.0.0"));
    assertValid(underTest.validateHost("8.8.8.8"));
    assertValid(underTest.validateHost("[::1]"));
    assertValid(underTest.validateHost("192.168.0.1"));
    assertValid(underTest.validateHost("224.0.1.1"));
}