@Override
    protected ExecuteContext doBefore(ExecuteContext context) {
        final Object object = context.getObject();
        if (object instanceof HandlerExecutionChain) {
            HandlerExecutionChain chain = (HandlerExecutionChain) object;
            chain.addInterceptor(getInterceptor());
        }
        return context;
    }
@Test
    public void testAddInterceptor() {
        final HandlerExecutionChain chain = new HandlerExecutionChain(new Object());
        final ExecuteContext executeContext = ExecuteContext.forMemberMethod(chain, null, null, null, null);
        final SpringWebHandlerInterceptor springWebHandlerInterceptor = new SpringWebHandlerInterceptor();
        springWebHandlerInterceptor.doBefore(executeContext);
        Assert.assertTrue(Objects.requireNonNull(chain.getInterceptors()).length > 0);
    }