public void Setup()
 {
     _addProcessor = new AddProcessor();
 }
Example #2
0
 public AddCommand(IAddProcessor addProcessor)
 {
     _addProcessor = addProcessor ?? throw new ArgumentNullException(nameof(addProcessor));
 }