@Test
    void verifyValidUsernamePassword() throws Throwable {
        val result = authenticationHandler.authenticate(CoreAuthenticationTestUtils.getCredentialsWithSameUsernameAndPassword(), mock(Service.class));
        assertEquals("SimpleTestUsernamePasswordAuthenticationHandler", result.getHandlerName());
    }
Test of the simple username/password handler.

@author Scott Battaglia
@since 3.0.0
core/cas-server-core-authentication/src/test/java/org/apereo/cas/authentication/handler/support/SimpleTestUsernamePasswordHandlerTests.java