@Test
    void verifyLogoutUrlByService() {
        val registeredService = getRegisteredService("https://www.google.com");
        registeredService.setLogoutUrl("http://www.example.com/logout");
        val builder = createDefaultSingleLogoutServiceLogoutUrlBuilder(false);
        val url = builder.determineLogoutUrl(registeredService, RegisteredServiceTestUtils.getService("https://www.google.com"));
        assertEquals(url.iterator().next().getUrl(), registeredService.getLogoutUrl());
    }
This is {@link DefaultSingleLogoutServiceLogoutUrlBuilderTests}.

@author Misagh Moayyed
@since 5.1.0
core/cas-server-core-logout/src/test/java/org/apereo/cas/logout/DefaultSingleLogoutServiceLogoutUrlBuilderTests.java