use of org.ovirt.engine.core.common.businessentities.EventNotificationHist in project ovirt-engine by oVirt.
the class EventDaoTest method setUp.
@Override
public void setUp() throws Exception {
super.setUp();
dao = dbFacade.getEventDao();
existingSubscriber = new Guid("9bf7c640-b620-456f-a550-0348f366544a");
newSubscriber = new Guid("9bf7c640-b620-456f-a550-0348f366544b");
newSubscription = new EventSubscriber();
newSubscription.setSubscriberId(newSubscriber);
newSubscription.setEventNotificationMethod(EventNotificationMethod.SMTP);
newSubscription.setEventUpName("TestRun");
newSubscription.setTagName("farkle");
newHistory = new EventNotificationHist();
newHistory.setAuditLogId(FREE_AUDIT_LOG_ID);
newHistory.setEventName("Failure");
newHistory.setMethodType("Email");
newHistory.setReason("Dunno");
newHistory.setSentAt(new Date());
newHistory.setStatus(false);
newHistory.setSubscriberId(existingSubscriber);
}
Aggregations