Esempio n. 1
0
 public void SendAndPublishAsyncThrowsExceptionWhenCommandIsNull()
 {
     _createSomething = null;
     Assert.ThrowsAsync <ArgumentNullException>(async() => await _sut.SendAndPublishAsync(_createSomething));
 }
Esempio n. 2
0
 public async Task SendAndPublishAsync <TCommand>(TCommand command) where TCommand : ICommand
 {
     await _commandSenderAsync.SendAndPublishAsync(command);
 }
Esempio n. 3
0
 /// <inheritdoc />
 public Task SendAndPublishAsync <TCommand>(TCommand command) where TCommand : ICommand
 {
     return(_commandSenderAsync.SendAndPublishAsync(command));
 }