@Test
    void verifyAccount() throws Throwable {
        val credential = new RemoteAuthenticationCredential("192.168.1.7");
        val result = remoteAddressAuthenticationHandler.authenticate(credential, mock(Service.class));
        assertNotNull(result);
        assertEquals(credential.getId(), result.getPrincipal().getId());
    }
This is {@link RemoteAddressAuthenticationHandlerTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-generic-remote-webflow/src/test/java/org/apereo/cas/adaptors/generic/remote/RemoteAddressAuthenticationHandlerTests.java