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

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Show file Open project: ezsystems/ezpublish-kernel Class Usage Examples

Public Methods

Method 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 method

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

getUserMock() public method

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
return eZ\Publish\API\Repository\Values\User\User | PHPUnit_Framework_MockObject_MockObject

tearDown() public method

unset properties.
public tearDown ( )