assertTrue(response.getClaimsSupported().size() > 0, "The claimsSupported is empty"); assertNotNull(response.getServiceDocumentation(), "The serviceDocumentation is null"); assertTrue(response.getClaimsLocalesSupported().size() > 0, "The claimsLocalesSupported is empty"); List<String> claimsSupported = response.getClaimsSupported(); for (Map.Entry<String, List<String>> scopeEntry : scopeToClaims.entrySet()) { assertTrue(scopesSupported.contains(scopeEntry.getKey()),
assertTrue(response.getRequestObjectSigningAlgValuesSupported().size() > 0, "The requestObjectSigningAlgValuesSupported is empty"); assertTrue(response.getTokenEndpointAuthMethodsSupported().size() > 0, "The tokenEndpointAuthMethodsSupported is empty"); assertTrue(response.getClaimsSupported().size() > 0, "The claimsSupported is empty");
Util.addToListIfHas(getResponse().getDisplayValuesSupported(), jsonObj, DISPLAY_VALUES_SUPPORTED); Util.addToListIfHas(getResponse().getClaimTypesSupported(), jsonObj, CLAIM_TYPES_SUPPORTED); Util.addToListIfHas(getResponse().getClaimsSupported(), jsonObj, CLAIMS_SUPPORTED); if (jsonObj.has(SERVICE_DOCUMENTATION)) { getResponse().setServiceDocumentation(jsonObj.getString(SERVICE_DOCUMENTATION));