@Test
    void verifyEntity() throws Exception {
        val context = MockRequestContext.create();
        val entity = new SamlIdentityProviderEntity();
        entity.setEntityID("org.example");
        val parser = new SamlIdentityProviderEntityParser(entity);
        assertEquals(1, parser.resolveEntities(context.getHttpServletRequest(), context.getHttpServletResponse()).size());
    }
This is {@link SamlIdentityProviderEntityParserTests}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-saml-idp-discovery/src/test/java/org/apereo/cas/entity/SamlIdentityProviderEntityParserTests.java