@Test
    void verifyUpperCaseTransformerWithTrimAndDelegate() {
        val suffixTrans = new PrefixSuffixPrincipalNameTransformer();
        suffixTrans.setPrefix("a");
        suffixTrans.setSuffix("z");
        val transformer = new ConvertCasePrincipalNameTransformer();
        transformer.setToUpperCase(true);
        val result = transformer.transform(suffixTrans.transform("   uid  "));
        assertEquals("A   UID  Z", result);
    }
Tests for the switch-case transformer.

@author Misagh Moayyed
@since 4.1.0
core/cas-server-core-authentication/src/test/java/org/apereo/cas/authentication/handler/ConvertCasePrincipalNameTransformerTests.java