public void ThenActionsRepositoryCreateActionShouldHaveBeenCalled()
 => ActionsRepository.Verify(repository => repository.CreateAction(It.IsAny <Action>()), Times.Once);
Example #2
0
 public void ThenActionsRepositoryCompleteActionByIdShouldHaveBeenCalled()
 => ActionsRepository.Verify(repository => repository.CompleteActionById(_actionId), Times.Once);
Example #3
0
 public void ActionsRepositoryGetActionByIdShouldHaveBeenCalled()
 => ActionsRepository.Verify(repository => repository.GetActionById(_action.Id), Times.Once);