@Override
    public ExecuteContext doBefore(ExecuteContext context) {
        if (!configuration.isEnableOriginConfigCenter() || isDynamicClosed()) {
            context.skip(null);
        }
        return context;
    }
@Test
    public void test() {
        try {
            final ZookeeperLocatorInterceptor zookeeperLocatorInterceptor = new ZookeeperLocatorInterceptor();
            final ExecuteContext context = zookeeperLocatorInterceptor.doBefore(buildContext());
            Assert.assertTrue(context.isSkip());
            ConfigHolder.INSTANCE.getConfigSources().add(new OriginConfigDisableSource("test"));
            final ExecuteContext closeContext = zookeeperLocatorInterceptor.doBefore(buildContext());
            Assert.assertTrue(closeContext.isSkip());
        } catch (NoSuchMethodException e) {
            // ignored
        } finally {
            ConfigHolder.INSTANCE.getConfigSources()
                .removeIf(configSource -> configSource.getClass() == OriginConfigDisableSource.class);
            Collections.sort(ConfigHolder.INSTANCE.getConfigSources());
        }
    }