@Test
    void verifyScript() {
        val converter = new GroovyAttributeConverter();
        assertTrue(converter.accept("groovy { return attribute.toString() + '-test' }"));
        assertEquals("value-test", converter.convert("value"));
    }
This is {@link GroovyAttributeConverterTests}.

@author Misagh Moayyed
@since 6.5.0
support/cas-server-support-pac4j-core-clients/src/test/java/org/apereo/cas/support/pac4j/authentication/attributes/GroovyAttributeConverterTests.java