@Override
    protected ExecuteContext doBefore(ExecuteContext context) {
        if (!registerConfig.isOpenMigration() || RegisterDynamicConfig.INSTANCE.isNeedCloseOriginRegisterCenter()) {
            context.skip(true);
        }
        return context;
    }
@Test
    public void doBefore() throws NoSuchMethodException {
        RegisterDynamicConfig.INSTANCE.setClose(true);
        final ExecuteContext context = interceptor.doBefore(buildContext());
        interceptor.doBefore(context);
        Assert.assertTrue(context.isSkip());
        RegisterDynamicConfig.INSTANCE.setClose(false);
    }