public function setStoreId($testSessionId, $storeId)
    {
        $extendedState = $this->getExtendedState($testSessionId);
        $extendedState->setStoreId($storeId);
        $extendedState->save();
    }