updatedStartDate.setTime(updatedStartDate.getTime() + 1000);
Date updatedEndDate = systemNotification.getEndDate();
updatedEndDate.setTime(updatedEndDate.getTime() + 1000);
SystemNotificationModel updateModel = createSystemNotificationModel(systemNotification.getId(), !systemNotification.isAllPages(), updatedStartDate, updatedEndDate, "updated message", SystemNotificationType.MAINTENANCE, SystemNotificationSeverity.ERROR);
SystemNotification updatedSystemNotification = systemNotificationService.editSystemNotification(updateModel);
assertNotNull(updatedSystemNotification);
assertEquals(updatedSystemNotification.getStartDate(), updateModel.getStartDate());
assertEquals(updatedSystemNotification.getEndDate(), updateModel.getEndDate());
assertEquals(updatedSystemNotification.isAllPages(), updateModel.isAllPages());
assertEquals(updatedSystemNotification.getMessage(), updateModel.getMessage());
assertEquals(updatedSystemNotification.getNotificationType(), updateModel.getNotificationType());
assertEquals(updatedSystemNotification.getNotificationSeverity(), updateModel.getNotificationSeverity());
}