PHP Class eZ\Publish\Core\Limitation\Tests\Base

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Afficher le fichier Open project: ezsystems/ezpublish-kernel Class Usage Examples

Méthodes publiques

Méthode Description
getPersistenceMock ( array $mockMethods = [] ) : eZ\Publish\SPI\Persistence\Handler | PHPUnit_Framework_MockObject_MockObject
getUserMock ( array $mockMethods = [] ) : eZ\Publish\API\Repository\Values\User\User | PHPUnit_Framework_MockObject_MockObject
tearDown ( ) unset properties.

Method Details

getPersistenceMock() public méthode

public getPersistenceMock ( array $mockMethods = [] ) : eZ\Publish\SPI\Persistence\Handler | PHPUnit_Framework_MockObject_MockObject
$mockMethods array For specifying the methods to mock, all by default
Résultat eZ\Publish\SPI\Persistence\Handler | PHPUnit_Framework_MockObject_MockObject

getUserMock() public méthode

public getUserMock ( array $mockMethods = [] ) : eZ\Publish\API\Repository\Values\User\User | PHPUnit_Framework_MockObject_MockObject
$mockMethods array For specifying the methods to mock, all by default
Résultat eZ\Publish\API\Repository\Values\User\User | PHPUnit_Framework_MockObject_MockObject

tearDown() public méthode

unset properties.
public tearDown ( )