@Override
    public void close() {
        for (ContextManagerLifecycleListener each : ShardingSphereServiceLoader.getServiceInstances(ContextManagerLifecycleListener.class)) {
            each.onDestroyed(this);
        }
        executorEngine.close();
        metaDataContexts.get().close();
        persistServiceFacade.getComputeNodePersistService().offline(computeNodeInstanceContext.getInstance());
        persistServiceFacade.getRepository().close();
    }
@Test
    void assertClose() {
        contextManager.close();
        verify(metaDataContexts).close();
    }