@Test
    void verifyInvalidAction() {
        val h = new BindModeSearchDatabaseAuthenticationHandler(new BindJdbcAuthenticationProperties(), mock(ServicesManager.class),
            PrincipalFactoryUtils.newPrincipalFactory(), this.dataSource);
        assertThrows(FailedLoginException.class,
            () -> h.authenticate(CoreAuthenticationTestUtils.getCredentialsWithDifferentUsernameAndPassword("unknown", "Mellon"), mock(Service.class)));
    }
This is {@link BindModeSearchDatabaseAuthenticationHandlerTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-jdbc-authentication/src/test/java/org/apereo/cas/jdbc/BindModeSearchDatabaseAuthenticationHandlerTests.java