@Override
    public ExecuteContext doAfter(ExecuteContext context) {
        final Object result = context.getResult();
        if (result != null) {
            // The original registry is restored
            RegisterContext.INSTANCE.compareAndSet(false, true);
        }
        return context;
    }
@Test
    public void doAfter() throws NoSuchMethodException {
        final ExecuteContext context = buildContext();
        context.changeResult(new Object());
        interceptor.doAfter(context);
        Assert.assertTrue(RegisterContext.INSTANCE.isAvailable());
        RegisterContext.INSTANCE.compareAndSet(true, false);
    }