@Test
    void verifyResponseCanBeFoundFromAttributes() throws Throwable {
        val inquirer = new RegexAttributeInterruptInquirer("member..", "CA.|system");
        val response = inquirer.inquire(CoreAuthenticationTestUtils.getAuthentication("casuser"),
            CoreAuthenticationTestUtils.getRegisteredService(),
            CoreAuthenticationTestUtils.getService(),
            CoreAuthenticationTestUtils.getCredentialsWithSameUsernameAndPassword(),
            new MockRequestContext());
        assertNotNull(response);
        assertFalse(response.isBlock());
        assertTrue(response.isSsoEnabled());
        assertTrue(response.isInterrupt());
    }
This is {@link RegexAttributeInterruptInquirerTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-interrupt-core/src/test/java/org/apereo/cas/interrupt/RegexAttributeInterruptInquirerTests.java