Example #1
0
        public void Can_log_Report_Exported()
        {
            var @event = new ReportExported();

            _serviceBus.PublishMessage(@event);
            AssertAdminActivityLog(@event, AdminActivityLogCategory.Report);
        }
 public void Consume(ReportExported message)
 {
     _eventHandlers.Handle(message);
 }
Example #3
0
 public void Handle(ReportExported @event)
 {
     AddActivityLog(AdminActivityLogCategory.Report, @event);
 }