@Test
    void authenticateWithNullArgument() {
        assertThrows(IllegalArgumentException.class, () -> {
            abstractAuthenticator.authenticate(null);
        });
    }
Ensures that the authenticate() method proactively fails if a <tt>null</tt> AuthenticationToken is passed as an
argument.
core/src/test/java/org/apache/shiro/authc/AbstractAuthenticatorTest.java