eZ\Publish\Core\Repository\Tests\Service\Integration\ContentBase::testLoadContentByRemoteId PHP Method

testLoadContentByRemoteId() public method

Test for the loadContentByRemoteId() method.
public testLoadContentByRemoteId ( string $remoteId, array | null $languages, integer $versionNo ) : eZ\Publish\API\Repository\Values\Content\Content
$remoteId string
$languages array | null
$versionNo integer
return eZ\Publish\API\Repository\Values\Content\Content
    public function testLoadContentByRemoteId($remoteId, $languages, $versionNo)
    {
        /* BEGIN: Use Case */
        $contentService = $this->repository->getContentService();
        $content = $contentService->loadContentByRemoteId($remoteId, $languages, $versionNo);
        /* END: Use Case */
        $this->assertInstanceOf('eZ\\Publish\\API\\Repository\\Values\\Content\\Content', $content);
        $this->assertContentValues($content, $languages);
    }
ContentBase