@Override
    public ExecuteContext doAfter(ExecuteContext context) {
        final Object result = context.getResult();
        if (result instanceof CompositeDiscoveryClient) {
            RegisterContext.INSTANCE.setDiscoveryClient(result);
        }
        return context;
    }
@Test
    public void doAfter() throws NoSuchMethodException {
        final CompositeDiscoveryClient client = Mockito.mock(CompositeDiscoveryClient.class);
        interceptor.doAfter(buildContext().changeResult(client));
        Assert.assertEquals(RegisterContext.INSTANCE.getDiscoveryClient(), client);
        RegisterContext.INSTANCE.setDiscoveryClient(null);
    }