@Test
    void verifySettersAndGetters() {
        prepareService();
        assertEquals(DESCRIPTION, baseService.getDescription());
        assertEquals(ENABLED, baseService.getAccessStrategy().isServiceAccessAllowed(baseService, CoreAuthenticationTestUtils.getService()));
        assertEquals(ID, baseService.getId());
        assertEquals(NAME, baseService.getName());
        assertEquals(SERVICEID, baseService.getServiceId());
        assertEquals(SSO_ENABLED, baseService.getAccessStrategy().isServiceAccessAllowedForSso(baseService));
        assertEquals(THEME, baseService.getTheme());
        assertNotNull(baseService);
        assertEquals(baseService, baseService);
    }
Unit test for {@link BaseRegisteredService}.

@author Marvin S. Addison
@since 3.4.12
core/cas-server-core-services/src/test/java/org/apereo/cas/services/RegisteredServiceTests.java