models/classes/runner/QtiRunnerService.php
public function resume(RunnerServiceContext $context)
    {
        if ($context instanceof QtiRunnerServiceContext) {

            $context->getTestSession()->resume();
            $this->persist($context);

        } else {
            throw new \common_exception_InvalidArgumentType(
                'QtiRunnerService',
                'resume',
                0,
                'oat\taoQtiTest\models\runner\QtiRunnerServiceContext',
                $context
            );
        }

        return true;
    }
public function resume(RunnerServiceContext $context)
    {
        if ($context instanceof QtiRunnerServiceContext) {

            $context->getTestSession()->resume();
            $this->persist($context);

        } else {
            throw new \common_exception_InvalidArgumentType(
                'QtiRunnerService',
                'resume',
                0,
                'oat\taoQtiTest\models\runner\QtiRunnerServiceContext',
                $context
            );
        }

        return true;
    }
Resumes the test from paused state
@param RunnerServiceContext $context
@return boolean
@throws \common_Exception