assertTrue(log.isArchived());
}
public void testPreviousOfCurrentNotificationLogFromFactory() throws Exception {
EventStore eventStore = this.eventStore();
long totalEvents = eventStore.countStoredEvents();
boolean shouldBePrevious = totalEvents > (NotificationLogFactory.notificationsPerLog() * 2);
NotificationLogFactory factory = new NotificationLogFactory(eventStore);
NotificationLog log = factory.createCurrentNotificationLog();
NotificationLogId previousId = log.decodedPreviousNotificationLogId();