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

Datei anzeigen Open project: ezsystems/ezpublish-kernel

Public Methods

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

Protected Methods

Method Description
setUp ( )

Private Methods

Method Description
generateRepositoryMockForContentTypeIdentifier ( string $contentTypeIdentifier ) : PHPUnit_Framework_MockObject_MockObject Returns a Repository mock configured to return the appropriate Section object with given section identifier.

Method Details

matchLocationProvider() public method

setUp() protected method

protected setUp ( )

testMatchContentInfo() public method

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 method

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