Exemplo n.º 1
0
        private void ThenDeleteIsSuccessful()
        {
            _commandAction.Should().NotThrow();

            _requestService.Received().DeleteRequest(Arg.Is(_command.Id));
        }
 private void ThenCurrentUsersUserIdWasUsed()
 {
     _requestService.Received().GetPaged(Arg.Any <string>(), Arg.Any <RequestStatuses?>(), Arg.Is <int?>(_currentUserId),
                                         Arg.Any <int?>(), Arg.Any <int?>());
 }