@Override
  protected void initialize() {
    super.initialize();

    // Subscribers
    subscriberIdsByTypes =
        SubscriptionUtil.indexSubscriberIdsByType(
            SubscriptionServiceFactory.getFactory()
                .getSubscribeService()
                .getSubscribers(ComponentSubscriptionResource.from(getResource().getInstanceId())));
  }
 @Before
 public void setup() {
   assertThat(
       getTestResources().getMockableSubscriptionService(),
       is(SubscriptionServiceFactory.getFactory().getSubscribeService()));
 }
 private SubscriptionService getSubscribeBm() {
   return SubscriptionServiceFactory.getFactory().getSubscribeService();
 }