@Test
    void verifyAction() throws Throwable {
        val properties = new PrincipalTransformationProperties();
        properties.setPrefix("prefix-");
        properties.setSuffix("-suffix");
        properties.setCaseConversion(PrincipalTransformationProperties.CaseConversion.UPPERCASE);
        val transformer = PrincipalNameTransformerUtils.newPrincipalNameTransformer(properties);
        val result = transformer.transform("userid");
        assertEquals("PREFIX-USERID-SUFFIX", result);
    }
This is {@link PrincipalNameTransformerUtilsTests}.

@author Misagh Moayyed
@since 5.3.0
core/cas-server-core-authentication-api/src/test/java/org/apereo/cas/authentication/principal/PrincipalNameTransformerUtilsTests.java