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

testLoadContentInfoByRemoteIdThrowsNotFoundException() public method

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