eZ\Publish\Core\Repository\Tests\Service\Integration\ContentTypeBase::testLoadContentTypeGroupByIdentifierThrowsNotFoundException PHP Метод

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

Test for the loadContentTypeGroupByIdentifier() method.
    public function testLoadContentTypeGroupByIdentifierThrowsNotFoundException()
    {
        /* BEGIN: Use Case */
        $contentTypeService = $this->repository->getContentTypeService();
        // Throws an exception
        $loadedGroup = $contentTypeService->loadContentTypeGroupByIdentifier('the-no-identifier-like-this');
        /* END: Use Case */
    }
ContentTypeBase