@Test
    void verifyEncodeNamesWithNoService() {
        val attributes = new LinkedHashMap<String, Object>();
        attributes.put("user@name", "casuser");
        attributes.put("user:name", "casuser");
        val results = encoder.encodeAttributes(Map.of(), attributes, null, webApplicationService);
        assertEquals(2, results.size());
    }
This is {@link DefaultCasProtocolAttributeEncoderTests}.

@author Misagh Moayyed
@since 6.0.0
core/cas-server-core-services-authentication/src/test/java/org/apereo/cas/authentication/support/DefaultCasProtocolAttributeEncoderTests.java