eZ\Publish\Core\Repository\Tests\Service\Mock\UserTest::getPartlyMockedUserService PHP Method

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
    protected function getPartlyMockedUserService(array $methods = null)
    {
        return $this->getMock('eZ\\Publish\\Core\\Repository\\UserService', $methods, array($this->getRepositoryMock(), $this->getPersistenceMock()->userHandler()));
    }