@BeforeEach
    protected void setUp() {
        sourceNull = new StubPersonAttributeDao();

        sourceOne = new StubPersonAttributeDao();
        val sourceOneMap = new HashMap<String, List<Object>>();
        sourceOneMap.put("shirtColor", List.of("blue"));
        sourceOneMap.put("favoriteColor", List.of("purple"));
        sourceOne.setBackingMap(sourceOneMap);

        sourceTwo = new StubPersonAttributeDao();
        val sourceTwoMap = new HashMap<String, List<Object>>();
        sourceTwoMap.put("tieColor", List.of("black"));
        sourceTwoMap.put("shoeType", List.of("closed-toe"));
        sourceTwo.setBackingMap(sourceTwoMap);

        oneAndTwo = new HashMap<>();
        oneAndTwo.putAll(sourceOneMap);
        oneAndTwo.putAll(sourceTwoMap);

        collidesWithOne = new StubPersonAttributeDao();
        val collidingMap = new HashMap<String, List<Object>>();
        collidingMap.put("shirtColor", List.of("white"));
        collidingMap.put("favoriteColor", List.of("red"));
        collidesWithOne.setBackingMap(collidingMap);

        oneAndTwoAndThree = new HashMap<>();
        var merger = new MultivaluedAttributeMerger();
        oneAndTwoAndThree = merger.mergeAttributes(oneAndTwoAndThree, sourceOneMap);
        oneAndTwoAndThree = merger.mergeAttributes(oneAndTwoAndThree, sourceTwoMap);
        oneAndTwoAndThree = merger.mergeAttributes(oneAndTwoAndThree, collidingMap);
    }
Testcase for {@link StubPersonAttributeDao}.

@author Misagh Moayyed
@since 7.1.0
core/cas-server-core-authentication-api/src/test/java/org/apereo/cas/authentication/attribute/MergingPersonAttributeDaoImplTests.java