@Test
    public void testSuccess() throws InterruptedException {
        providerConfig = defaultServer(0);
        providerConfig.export();

        consumerConfig = defaultClient();

        HystrixService HystrixService = consumerConfig.refer();

        HystrixService.sayHello("abc", 24);
        Future future = SofaResponseFuture.getFuture();
        Assert.assertFalse(future.isDone());
        Assert.assertFalse(future.isCancelled());
        String result = (String) SofaResponseFuture.getResponse(10000, true);
        Assert.assertTrue(future.isDone());
        Assert.assertEquals("hello abc from server! age: 24", result);
        Assert.assertEquals(1, ((InvokeCounterHystrixService) providerConfig.getRef()).getExecuteCount());

    }
@author <a href=mailto:scienjus@gmail.com>ScienJus</a>
test/test-integration/src/test/java/com/alipay/sofa/rpc/hystrix/HystrixFilterAsyncTest.java