PHP Class eZ\Publish\Core\MVC\Symfony\Matcher\Tests\ContentBased\Matcher\Identifier\ContentTypeTest

Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

Méthode Description
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 )

Méthodes protégées

Méthode Description
setUp ( )

Private Methods

Méthode Description
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.

Method Details

matchContentInfoProvider() public méthode

matchLocationProvider() public méthode

setUp() protected méthode

protected setUp ( )

testMatchContentInfo() public méthode

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 méthode

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