private static Collection<String> newSingleAttribute(final String attr) {
        return Set.of(attr);
    }
This is test cases for {@link DefaultCasProtocolAttributeEncoder}.

@author Misagh Moayyed
@since 4.1
support/cas-server-support-person-directory/src/test/java/org/apereo/cas/DefaultCasAttributeEncoderTests.java