public function checkOut(
        $repositoryId,
        & $objectId,
        ExtensionDataInterface $extension = null,
        $contentCopied = null
    ) {
        $objectData = $this->getJsonConverter()->convertObject(
            (array) $this->postJson(
                $this->getObjectUrl($repositoryId, $objectId),
                $this->createQueryArray(
                    Constants::CMISACTION_CHECK_OUT,
                    [],
                    $extension
                )
            )
        );
        $objectId = $objectData->getId();
    }