PHP Class eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\RestExecutedViewTest

Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

Méthode Description
getContentServiceMock ( ) : eZ\Publish\API\Repository\ContentService | PHPUnit_Framework_MockObject_MockObject
getContentTypeServiceMock ( ) : eZ\Publish\API\Repository\ContentTypeService | PHPUnit_Framework_MockObject_MockObject
getLocationServiceMock ( ) : eZ\Publish\API\Repository\LocationService | PHPUnit_Framework_MockObject_MockObject
provideXpathAssertions ( )
testGeneratedXml ( string $xpath, DOMDocument $dom )
testVisit ( ) : DOMDocument Test the RestExecutedView visitor.

Méthodes protégées

Méthode Description
buildContentSearchHit ( ) : eZ\Publish\API\Repository\Values\Content\Search\SearchHit
buildLocationSearchHit ( ) : eZ\Publish\API\Repository\Values\Content\Search\SearchHit
internalGetVisitor ( ) : RestExecutedView Get the Relation visitor.

Method Details

buildContentSearchHit() protected méthode

protected buildContentSearchHit ( ) : eZ\Publish\API\Repository\Values\Content\Search\SearchHit
Résultat eZ\Publish\API\Repository\Values\Content\Search\SearchHit

buildLocationSearchHit() protected méthode

protected buildLocationSearchHit ( ) : eZ\Publish\API\Repository\Values\Content\Search\SearchHit
Résultat eZ\Publish\API\Repository\Values\Content\Search\SearchHit

getContentServiceMock() public méthode

public getContentServiceMock ( ) : eZ\Publish\API\Repository\ContentService | PHPUnit_Framework_MockObject_MockObject
Résultat eZ\Publish\API\Repository\ContentService | PHPUnit_Framework_MockObject_MockObject

getContentTypeServiceMock() public méthode

public getContentTypeServiceMock ( ) : eZ\Publish\API\Repository\ContentTypeService | PHPUnit_Framework_MockObject_MockObject
Résultat eZ\Publish\API\Repository\ContentTypeService | PHPUnit_Framework_MockObject_MockObject

getLocationServiceMock() public méthode

public getLocationServiceMock ( ) : eZ\Publish\API\Repository\LocationService | PHPUnit_Framework_MockObject_MockObject
Résultat eZ\Publish\API\Repository\LocationService | PHPUnit_Framework_MockObject_MockObject

internalGetVisitor() protected méthode

Get the Relation visitor.
protected internalGetVisitor ( ) : RestExecutedView
Résultat eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\RestExecutedView

provideXpathAssertions() public méthode

testGeneratedXml() public méthode

public testGeneratedXml ( string $xpath, DOMDocument $dom )
$xpath string
$dom DOMDocument

testVisit() public méthode

Test the RestExecutedView visitor.
public testVisit ( ) : DOMDocument
Résultat DOMDocument