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