@Override
    protected ExecuteContext doBefore(ExecuteContext context) {
        if (!registerConfig.isOpenMigration() || RegisterDynamicConfig.INSTANCE.isNeedCloseOriginRegisterCenter()) {
            context.skip(null);
        }
        return context;
    }
@Test
    public void doBefore() throws NoSuchMethodException {
        registerConfig.setOpenMigration(true);
        final ExecuteContext context = interceptor
                .doBefore(ExecuteContext.forMemberMethod(this, String.class.getDeclaredMethod("trim"),
                        null, null, null));
        Assert.assertFalse(context.isSkip());
        registerConfig.setOpenMigration(false);
        final ExecuteContext openContext = interceptor.doBefore(context);
        Assert.assertTrue(openContext.isSkip());
    }