@Test
    public void isSync() throws Exception {
        Subscriber subscriber = new TestSubscriber();
        Assert.assertTrue(subscriber.isSync());

        subscriber = new TestAsyncSubscriber();
        Assert.assertFalse(subscriber.isSync());
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
core/api/src/test/java/com/alipay/sofa/rpc/event/SubscriberTest.java