private static boolean shouldUseIp1(final int x) {
        return x % NUM_TO_USE_IP1 == 0;
    }
This is {@link CasAuthenticationEventListenerTests}.

@author Misagh Moayyed
@since 5.3.0
core/cas-server-core-events/src/test/java/org/apereo/cas/support/events/CasAuthenticationEventListenerTests.java