@Test
    void testColliding() {
        val someAttributes = new HashMap<String, List<Object>>();
        someAttributes.put("attName", CollectionUtils.wrapList("attValue"));
        someAttributes.put("attName2", CollectionUtils.wrapList("attValue2"));

        val otherAttributes = new HashMap<String, List<Object>>();
        otherAttributes.put("attName", CollectionUtils.wrapList("attValue3"));
        otherAttributes.put("attName4", CollectionUtils.wrapList("attValue4"));

        val expected = new HashMap<>(someAttributes);
        expected.put("attName4", CollectionUtils.wrapList("attValue4"));
        val result = this.attributeMerger.mergeAttributes(someAttributes, otherAttributes);
        assertEquals(expected, result);
    }
This is {@link NoncollidingAttributeAdderTests}.

@author Misagh Moayyed
@since 7.1.0
core/cas-server-core-authentication-api/src/test/java/org/apereo/cas/authentication/principal/merger/NoncollidingAttributeAdderTests.java