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