@Test(expected = TechnicalException.class)
    public void testNoPattern() {
        val credentials = new TokenCredentials(GOOD_IP);
        Authenticator authenticator = new IpRegexpAuthenticator();
        authenticator.validate(new CallContext(null, new MockSessionStore()), credentials);
    }
This class tests the {@link IpRegexpAuthenticator}.

@author Jerome Leleu
@since 1.8.0
pac4j-http/src/test/java/org/pac4j/http/credentials/authenticator/IpRegexpAuthenticatorTests.java