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

Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

Méthode Description
matchContentInfoProvider ( )
matchLocationProvider ( )
testMatchContentInfo ( integer | int[] $matchingConfig, eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, boolean $expectedResult )
testMatchLocation ( integer | int[] $matchingConfig, eZ\Publish\API\Repository\Values\Content\Location $location, boolean $expectedResult )

Méthodes protégées

Méthode Description
setUp ( )

Private Methods

Méthode Description
generateLocationForContentId ( integer $contentId ) : PHPUnit_Framework_MockObject_MockObject Generates a Location mock in respect of a given content 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\Values\Content\ContentInfo $contentInfo, boolean $expectedResult )
$matchingConfig integer | int[]
$contentInfo eZ\Publish\API\Repository\Values\Content\ContentInfo
$expectedResult boolean

testMatchLocation() public méthode

public testMatchLocation ( integer | int[] $matchingConfig, eZ\Publish\API\Repository\Values\Content\Location $location, boolean $expectedResult )
$matchingConfig integer | int[]
$location eZ\Publish\API\Repository\Values\Content\Location
$expectedResult boolean