@Test public void getSubscriptions() { subscriptionDelegateTestObject.getSubscriptions(subscriberIdentity); verify(subscriptionDelegateTestObject.subscriptionDao).getSubscriptionsForIdentity(subscriberIdentity); }
public List<Subscription> getSubscriptions(Identity identity) { return subscriptionDao.getSubscriptionsForIdentity(identity); }
SubscriptionDelegate { public List<Subscription> getSubscriptions(Identity identity) { return subscriptionDao.getSubscriptionsForIdentity(identity); } }
SubscriptionDelegate { public List<Subscription> getSubscriptions(Identity identity) { return subscriptionDao.getSubscriptionsForIdentity(identity); }  }
SubscriptionDelegate { public List<Subscription> getSubscriptions(Identity identity) { return subscriptionDao.getSubscriptionsForIdentity(identity); }  void deleteSubscription(NotificationSubscriptionContext subscriptionContext); void invalidateSubscriptionForSubscriptionContext(NotificationSubscriptionContext subscriptionContext); void invalidateSubscription(Publisher publisher, Subscriber subscriber); void invalidateSubscription(Subscription subscription); Subscription getSubscription(NotificationSubscriptionContext subscriptionContext); Subscription createAndSaveSubscription(NotificationSubscriptionContext subscriptionContext); List<Subscription> getSubscriptions(Identity identity); }
SubscriptionDelegate { public List<Subscription> getSubscriptions(Identity identity) { return subscriptionDao.getSubscriptionsForIdentity(identity); }  void deleteSubscription(NotificationSubscriptionContext subscriptionContext); void invalidateSubscriptionForSubscriptionContext(NotificationSubscriptionContext subscriptionContext); void invalidateSubscription(Publisher publisher, Subscriber subscriber); void invalidateSubscription(Subscription subscription); Subscription getSubscription(NotificationSubscriptionContext subscriptionContext); Subscription createAndSaveSubscription(NotificationSubscriptionContext subscriptionContext); List<Subscription> getSubscriptions(Identity identity);  }