@Subscribe
    public void onPullInstanceEvent(PullInstanceEvent event) {
        pullAllInstance();
    }
@Test
    public void testEvent() {
        final EventBus eventBus = new EventBus();
        final ServiceCenterClient serviceCenterClient = Mockito.mock(ServiceCenterClient.class);
        final ScDiscovery scDiscovery = new ScDiscovery(serviceCenterClient, eventBus);
        final ScDiscovery spy = Mockito.spy(scDiscovery);
        eventBus.register(spy);
        final PullInstanceEvent pullInstanceEvent = new PullInstanceEvent();
        eventBus.post(pullInstanceEvent);
        Mockito.verify(spy, Mockito.times(1)).onPullInstanceEvent(Mockito.any());
    }