/**
  * Main preview by creator of exercise.
  *
  * @param \_OurBrand_\Quiz\Domain\Model\Exercise $exercise
  */
 private function previewAssignment($exercise)
 {
     $possibleAnswers = null;
     $question = $exercise->getQuestions()->first();
     if (is_a($question, '\\_OurBrand_\\Quiz\\Domain\\Model\\Exercises\\MultipleChoiceQuestion')) {
         $possibleAnswers = $question->getPossibleAnswers();
     }
     // Select the explanation translation text
     $this->view->assign('explanationTranslateKey', 'exercise.multipleChoice.sameAnswer.explanation.selectOne');
     $this->view->assign('currentExercise', $exercise);
     $this->view->assign('possibleAnswers', $possibleAnswers);
     $this->view->assign('quiz', $exercise->getQuiz());
 }