PHP Класс eZ\Publish\Core\MVC\Symfony\Matcher\Tests\ContentBased\Matcher\Identifier\ContentTypeTest

Показать файл Открыть проект

Открытые методы

Метод Описание
matchContentInfoProvider ( )
matchLocationProvider ( )
testMatchContentInfo ( string | string[] $matchingConfig, eZ\Publish\API\Repository\Repository $repository, boolean $expectedResult )
testMatchLocation ( string | string[] $matchingConfig, eZ\Publish\API\Repository\Repository $repository, boolean $expectedResult )

Защищенные методы

Метод Описание
setUp ( )

Приватные методы

Метод Описание
generateLocationMock ( ) : PHPUnit_Framework_MockObject_MockObject Generates a Location object in respect of a given content type identifier.
generateRepositoryMockForContentTypeIdentifier ( integer $contentTypeIdentifier ) : PHPUnit_Framework_MockObject_MockObject Returns a Repository mock configured to return the appropriate ContentType object with given identifier.

Описание методов

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

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

setUp() защищенный Метод

protected setUp ( )

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

public testMatchContentInfo ( string | string[] $matchingConfig, eZ\Publish\API\Repository\Repository $repository, boolean $expectedResult )
$matchingConfig string | string[]
$repository eZ\Publish\API\Repository\Repository
$expectedResult boolean

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

public testMatchLocation ( string | string[] $matchingConfig, eZ\Publish\API\Repository\Repository $repository, boolean $expectedResult )
$matchingConfig string | string[]
$repository eZ\Publish\API\Repository\Repository
$expectedResult boolean