code: public function resumeSession(AssessmentTestSession $session) {
          $deliveryExecutionState = $this->getSessionState($session);
          if ($deliveryExecutionState === DeliveryExecution::STATE_PAUSED) {
              $this->updateTimeReference($session);
              $this->getDeliveryExecution($session)->setState(DeliveryExecution::STATE_ACTIVE);
          }
      }
docs: Resume delivery execution
  @param AssessmentTestSession $session