public void RestartFromBreak_GivenAssessmentId_WorkflowResetBreakShouldBeCalled() { var assessmentId = Guid.NewGuid(); _assessmentController.RestartFromBreak(assessmentId); A.CallTo(() => _workflowHandler.RestartBreak(assessmentId)).MustHaveHappened(Repeated.Exactly.Once); }
public virtual ActionResult RestartFromBreak(Guid assessmentId) { _workflowHandler.RestartBreak(assessmentId); return(RedirectToAction(MVC.Question.Index(assessmentId))); }