@ParameterizedTest
    @MethodSource("contextProvider")
    void verifyOperation(final Supplier<MockRequestContext> contextSupplier) {
        val context = contextSupplier.get();
        val resolver = new SpringWebflowActionExecutionAuditablePrincipalResolver("name");
        
        val request = new MockHttpServletRequest();
        request.addParameter("name", UUID.randomUUID().toString());
        val response = new MockHttpServletResponse();
        context.setExternalContext(new ServletExternalContext(new MockServletContext(), request, response));
        RequestContextHolder.setRequestContext(context);
        ExternalContextHolder.setExternalContext(context.getExternalContext());
        assertFalse(resolver.resolveFrom(context, mock(JoinPoint.class), false).isEmpty());
    }
This is {@link SpringWebflowActionExecutionAuditablePrincipalResolverTests}.

@author Misagh Moayyed
@since 7.0.0
core/cas-server-core-audit-api/src/test/java/org/apereo/inspektr/audit/spi/support/SpringWebflowActionExecutionAuditablePrincipalResolverTests.java