@Test
    void verifyNoTemplateName() {
        val registeredService = new CasRegisteredService();
        registeredService.setId(1000);
        registeredService.setName("Unknown");
        registeredService.setServiceId("https://app.example.org");

        val manager = getTemplatesManagerInstanceFrom(casProperties);
        val result = manager.apply(registeredService);

        assertEquals(result.getId(), registeredService.getId());
        val releasePolicy = (ReturnAllowedAttributeReleasePolicy) result.getAttributeReleasePolicy();
        assertTrue(releasePolicy.getAllowedAttributes().isEmpty());
    }
This is {@link DefaultRegisteredServicesTemplatesManagerTests}.

@author Misagh Moayyed
@since 7.0.0
core/cas-server-core-services/src/test/java/org/apereo/cas/services/DefaultRegisteredServicesTemplatesManagerTests.java