@AfterEach
    public void tearDown() throws Exception {
        clearServiceRegistry();
        tearDownServiceRegistry();
    }
Abstracted service registry tests for all implementations.

@author Timur Duehr
@since 5.3.0
core/cas-server-core-services/src/test/java/org/apereo/cas/services/AbstractServiceRegistryTests.java