@Test
    void checkSaveMethod() {
        val registeredService = new OidcRegisteredService();
        registeredService.setName("checkSaveMethod");
        registeredService.setServiceId("testId");
        registeredService.setJwks("file:/tmp/thekeystorehere.jwks");
        registeredService.setSignIdToken(true);
        registeredService.setBypassApprovalPrompt(true);
        val r2 = servicesManager.save(registeredService);
        assertInstanceOf(OidcRegisteredService.class, r2);
        servicesManager.load();
        val r3 = servicesManager.findServiceBy(r2.getId());
        assertInstanceOf(OidcRegisteredService.class, r3);
        assertEquals(registeredService, r2);
        assertEquals(r2, r3);
        assertNotNull(registeredService.getFriendlyName());
    }
Test cases for {@link OidcRegisteredService}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-oidc-services/src/test/java/org/apereo/cas/services/OidcRegisteredServiceTests.java