eZ\Publish\Core\Repository\Tests\Service\Integration\ContentBase::testLoadContentByRemoteIdThrowsNotFoundException PHP Метод

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

Test for the loadContentByRemoteId() method.
    public function testLoadContentByRemoteIdThrowsNotFoundException()
    {
        /* BEGIN: Use Case */
        $contentService = $this->repository->getContentService();
        // Throws an exception because given remoteId does not exist
        $content = $contentService->loadContentByRemoteId('non-existent-remote-id');
        /* END: Use Case */
    }
ContentBase