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

Datei anzeigen Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
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 )

Protected Methods

Method Description
setUp ( )

Private Methods

Method Description
generateRepositoryMockForContentTypeId ( integer $contentTypeId ) : PHPUnit_Framework_MockObject_MockObject Returns a Repository mock configured to return the appropriate ContentType object with given id.

Method Details

matchLocationProvider() public method

setUp() protected method

protected setUp ( )

testMatchContentInfo() public method

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 method

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