private Configuration([NotNull] DocPublisher resultPublisher)
 {
     DocPublisher = resultPublisher ?? throw new ArgumentNullException(nameof(resultPublisher));
 }
 public Configuration Use([NotNull] DocPublisher docPublisher)
 {
     DocPublisher = docPublisher ?? throw new ArgumentNullException(nameof(docPublisher));
     return(this);
 }
 internal ScenarioBuilder([NotNull] TContext context, [NotNull] DocPublisher docPublisher)
 {
     _context      = context ?? throw new ArgumentNullException(nameof(context));
     _docPublisher = docPublisher ?? throw new ArgumentNullException(nameof(docPublisher));
 }