public async Task ProjectController_EditActionsGet_ShouldRedirectIfItCantGetProject() { var result = await controller.EditAsync(0); projectsMock.Verify( p => p.GetProjectForEditingAsync <ProjectViewModel>(0, null), Times.Once); AssertRedirectToAction(result); AssertNotificationMessage(ProjectsService.Message_Error_ProjectNotFound, true); }