private function handleConfigurationStateMessages($currentRequestCmd)
 {
     if (!$this->questionSetConfig->isQuestionAmountConfigComplete()) {
         $infoMessage = $this->lng->txt('tst_msg_rand_quest_set_incomplete_quest_amount_cfg');
         if ($this->isQuestionAmountConfigPerTestHintRequired($currentRequestCmd)) {
             $infoMessage .= '<br />' . sprintf($this->lng->txt('tst_msg_rand_quest_set_change_quest_amount_here'), $this->buildGeneralConfigSubTabLink());
         } elseif ($this->isQuestionAmountConfigPerPoolHintRequired($currentRequestCmd)) {
             $infoMessage .= '<br />' . sprintf($this->lng->txt('tst_msg_rand_quest_set_change_quest_amount_here'), $this->buildQuestionSelectionSubTabLink());
         }
     } elseif (!$this->questionSetConfig->hasSourcePoolDefinitions()) {
         $infoMessage = $this->lng->txt('tst_msg_rand_quest_set_no_src_pool_defs');
     } elseif (!$this->questionSetConfig->isQuestionSetBuildable()) {
         $infoMessage = $this->lng->txt('tst_msg_rand_quest_set_pass_not_buildable');
     } else {
         $syncDate = new ilDateTime($this->questionSetConfig->getLastQuestionSyncTimestamp(), IL_CAL_UNIX);
         $infoMessage = sprintf($this->lng->txt('tst_msg_rand_quest_set_stage_pool_last_sync'), ilDatePresentation::formatDate($syncDate));
         if (!$this->testOBJ->participantDataExist()) {
             $infoMessage .= "<br />{$this->buildQuestionStageRebuildLink($currentRequestCmd)}";
         }
     }
     if ($this->isNoAvailableQuestionPoolsHintRequired($currentRequestCmd)) {
         $infoMessage .= '<br />' . $this->lng->txt('tst_msg_rand_quest_set_no_pools_available');
     }
     ilUtil::sendInfo($infoMessage);
 }
 private function handleConfigurationStateMessages()
 {
     if (!$this->questionSetConfig->isQuestionAmountConfigComplete()) {
         $infoMessage = $this->lng->txt('tst_msg_rand_quest_set_incomplete_quest_amount_cfg');
     } elseif (!$this->questionSetConfig->hasSourcePoolDefinitions()) {
         $infoMessage = $this->lng->txt('tst_msg_rand_quest_set_no_src_pool_defs');
     } elseif (!$this->questionSetConfig->isQuestionSetBuildable()) {
         $infoMessage = $this->lng->txt('tst_msg_rand_quest_set_pass_not_buildable');
     } else {
         $syncDate = new ilDateTime($this->questionSetConfig->getLastQuestionSyncTimestamp(), IL_CAL_UNIX);
         $infoMessage = sprintf($this->lng->txt('tst_msg_rand_quest_set_stage_pool_last_sync'), ilDatePresentation::formatDate($syncDate));
     }
     ilUtil::sendInfo($infoMessage);
 }