public DefaultApplicationCommandingContext(
     IServiceProvider serviceProvider,
     IDomainCommandPublisher commandPublisher,
     IApplicationNotificationPublisher notificationPublisher)
 {
     ServiceProvider                   = serviceProvider ?? throw new ArgumentNullException();
     _domainCommandPublisher           = commandPublisher ?? throw new ArgumentNullException();
     _applicationNotificationPublisher = notificationPublisher ?? throw new ArgumentNullException();
 }
 public ApplicationNotificationProcessingTest(IApplicationNotificationPublisher publisher)
 {
     _publisher = publisher;
 }