@Test
    void verifyClaimMatchesRealm() {
        val claims = new ClaimCollection();

        val claim = new Claim();
        claim.setClaimType(WSFederationClaims.COMMON_NAME.getUri());
        claims.add(claim);

        val parameters = new ClaimsParameters();
        parameters.setRealm("CAS-Other");
        
        val handler = new WrappingSecurityTokenServiceClaimsHandler("CAS", "https://apereo.org/cas");
        assertTrue(handler.retrieveClaimValues(claims, parameters).isEmpty());
    }
This is {@link WrappingSecurityTokenServiceClaimsHandlerTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-ws-sts-api/src/test/java/org/apereo/cas/support/claims/WrappingSecurityTokenServiceClaimsHandlerTests.java