@Override
    public void onEvent(Event event) {
        if (event instanceof TestEvent) {
            cache = ((TestEvent) event).getName();
        }
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
core/api/src/test/java/com/alipay/sofa/rpc/event/TestSubscriber.java