public NotificationCreatedEventHandlerTests() { context = new TestIwsContext(); var notification = NotificationApplicationFactory.Create(Guid.Empty, NotificationType.Recovery, UKCompetentAuthority.England, 0); EntityHelper.SetEntityId(notification, notificationId); message = new NotificationCreatedEvent(notification); handler = new NotificationCreatedEventHandler(context); }
private void Handle(NotificationCreatedEvent evnt) { _info = evnt.Info; }