/** * Returns true, if a test is complete for use and can be set online * * @param ilTestQuestionSetConfig $testQuestionSetConfig * @return boolean */ public final function isComplete(ilTestQuestionSetConfig $testQuestionSetConfig) { if (!count($this->mark_schema->mark_steps)) { return false; } if (!$testQuestionSetConfig->isQuestionSetConfigured()) { return false; } return true; }