PublishedNotificationTrackerStore publishedNotificationTrackerStore =
new HibernatePublishedNotificationTrackerStore(
new PersistenceManagerProvider(this.session()),
"unit.test");
NotificationPublisher notificationPublisher =
new RabbitMQNotificationPublisher(
eventStore,
publishedNotificationTrackerStore,
"unit.test");
assertNotNull(notificationPublisher);
notificationPublisher.publishNotifications();
}