assertTrue(log.hasPreviousNotificationLog());
assertFalse(log.isArchived());
}
public void testNotificationLog() throws Exception {
NotificationLogId id = NotificationLogId.first(NotificationLogFactory.notificationsPerLog());
NotificationLog log = this.notificationApplicationService.notificationLog(id.encoded());
assertEquals(NotificationLogFactory.notificationsPerLog(), log.totalNotifications());
assertTrue(eventStore.countStoredEvents() >= log.totalNotifications());
assertTrue(log.hasNextNotificationLog());
assertFalse(log.hasPreviousNotificationLog());