public void MessagingCommandHandler_HandleCommand_SendSMSCommand_CommandHandled() { Mock <IEmailServiceProxy> emailServiceProxy = new Mock <IEmailServiceProxy>(); Mock <ISMSServiceProxy> smsServiceProxy = new Mock <ISMSServiceProxy>(); MessagingCommandHandler handler = new MessagingCommandHandler(emailServiceProxy.Object, smsServiceProxy.Object); SendSMSCommand command = MessagingServiceSMSTestData.GetSendSmsCommand(); Should.NotThrow(async() => { await handler.Handle(command, CancellationToken.None); }); }