protected CriteriaSet getCriteriaFor(final String entityId) {
        val criteriaSet1 = new CriteriaSet();
        criteriaSet1.add(new EntityIdCriterion(entityId));
        criteriaSet1.add(new EntityRoleCriterion(SPSSODescriptor.DEFAULT_ELEMENT_NAME));
        return criteriaSet1;
    }
This is {@link BaseSamlIdPServicesTests}.

@author Misagh Moayyed
@since 6.0.0
support/cas-server-support-saml-idp-metadata/src/test/java/org/apereo/cas/support/saml/services/BaseSamlIdPServicesTests.java