@Test
void validateWithNotAllowedIP() {

    accessControl.allow = new IPv4Ranges(List.of("100.100.100.100/32"));
    assertThatThrownBy(() -> accessControl.validate("100.100.100.1"))
            .isInstanceOf(ForbiddenException.class)
            .hasMessageContaining("access denied");
}