@Test
    void verifyOperation() {
        val request = new MockHttpServletRequest();
        val principal = mock(Principal.class);
        when(principal.getName()).thenReturn("casuser");
        request.setUserPrincipal(principal);
        assertNotNull(remoteUserAuthenticationAction.getRemotePrincipalId(request));
    }
This is {@link ChainingPrincipalFromRequestNonInteractiveCredentialsActionTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-trusted/src/test/java/org/apereo/cas/adaptors/trusted/web/flow/ChainingPrincipalFromRequestNonInteractiveCredentialsActionTests.java