PHP Class eZ\Publish\Core\MVC\Symfony\Matcher\Tests\ContentBased\Matcher\Id\ContentTypeGroupTest

Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

Méthode Description
matchContentInfoProvider ( )
matchLocationProvider ( )
testMatchContentInfo ( integer | int[] $matchingConfig, eZ\Publish\API\Repository\Repository $repository, boolean $expectedResult )
testMatchLocation ( integer | int[] $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 mock.
generateRepositoryMockForContentTypeGroupId ( integer $contentTypeGroupId ) : PHPUnit_Framework_MockObject_MockObject Returns a Repository mock configured to return the appropriate Location object with given parent location Id.

Method Details

matchContentInfoProvider() public méthode

matchLocationProvider() public méthode

setUp() protected méthode

protected setUp ( )

testMatchContentInfo() public méthode

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

testMatchLocation() public méthode

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