Collection<Subscription> subscriptions = notifier.getAllAsyncSubscriptions();
Assert.assertEquals(1, subscriptions.size());
Subscription subscription = subscriptions.iterator().next();
GetSubscriptionResults getSubscriptionResults = notifier.buildGetSubscriptionResults(subscription, new Date());
getSubscriptionResults.setSubscriptionKey(subscription.getSubscriptionKey());
UddiEntityPublisher publisher = new UddiEntityPublisher();
publisher.setAuthorizedName(subscription.getAuthorizedName());
SubscriptionResultsList resultList = notifier.getSubscriptionImpl().getSubscriptionResults(getSubscriptionResults, publisher);
//We're expecting a changed service (since it was added in the
Assert.assertNotNull(resultList.getServiceList());
//We should detect these changes.
boolean hasChanges = notifier.resultListContainsChanges(resultList);