@Override
    protected ExecuteContext doBefore(ExecuteContext context) {
        checkState(context, null);
        return context;
    }
@Test
    public void doBefore() throws Exception {
        REGISTER_CONFIG.setEnableSpringRegister(true);
        REGISTER_CONFIG.setOpenMigration(true);
        RegisterDynamicConfig.INSTANCE.setClose(false);
        final ExecuteContext context = interceptor.before(buildContext());
        Assert.assertFalse(context.isSkip());
        RegisterDynamicConfig.INSTANCE.setClose(true);
        final ExecuteContext openContext = interceptor.doBefore(buildContext());
        Assert.assertTrue(openContext.isSkip());
        RegisterDynamicConfig.INSTANCE.setClose(false);
        REGISTER_CONFIG.setEnableSpringRegister(false);
        REGISTER_CONFIG.setOpenMigration(false);
    }