eZ\Publish\Core\Repository\Tests\Service\Integration\LocationBase::testLoadLocationByRemoteId PHP Метод

testLoadLocationByRemoteId() публичный Метод

Test loading location by remote ID.
    public function testLoadLocationByRemoteId()
    {
        $location = $this->repository->getLocationService()->loadLocationByRemoteId('769380b7aa94541679167eab817ca893');
        self::assertInstanceOf('\\eZ\\Publish\\API\\Repository\\Values\\Content\\Location', $location);
        self::assertGreaterThan(0, $location->id);
        self::assertEquals('769380b7aa94541679167eab817ca893', $location->remoteId);
    }