PHP Class eZ\Publish\Core\Repository\Tests\Service\Mock\UserTest

Inheritance: extends Base
Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
testDeleteUser ( ) Test for the deleteUser() method.
testDeleteUserWithRollback ( ) Test for the deleteUser() method.

Protected Methods

Method Description
getPartlyMockedUserService ( array $methods = null ) : UserService | PHPUnit_Framework_MockObject_MockObject Returns the User service to test with $methods mocked.

Method Details

getPartlyMockedUserService() protected method

Injected Repository comes from {@see \getRepositoryMock()} and persistence handler from {@see \getPersistenceMock()}
protected getPartlyMockedUserService ( array $methods = null ) : UserService | PHPUnit_Framework_MockObject_MockObject
$methods array
return eZ\Publish\Core\Repository\UserService | PHPUnit_Framework_MockObject_MockObject

testDeleteUser() public method

Test for the deleteUser() method.
public testDeleteUser ( )

testDeleteUserWithRollback() public method

Test for the deleteUser() method.