NotificationMessageHolderType message = consumerCallback.notifications.get(0);
assertEquals(WSNHelper.getWSAAddress(subscription.getEpr()),
WSNHelper.getWSAAddress(message.getSubscriptionReference()));
subscription.unsubscribe();
registration.destroy();
publisher.stop();
consumer.stop();
}
public void testPublisherOnDemand() throws Exception {
TestConsumer consumerCallback = new TestConsumer();