PHP Класс eZ\Publish\Core\Repository\Tests\Service\Mock\SearchTest

Наследование: extends Base
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$domainMapperMock
$permissionsCriterionHandlerMock
$repositoryMock

Открытые методы

Метод Описание
providerForFindContentValidatesLocationCriteriaAndSortClauses ( )
providerForFindSingleValidatesLocationCriteria ( )
testConstructor ( ) Test for the __construct() method.
testFindContentNoPermissionsFilter ( ) Test for the findContent() method.
testFindContentThrowsHandlerException ( ) Test for the findContent() method.
testFindContentValidatesLocationCriteriaAndSortClauses ( $query, $exceptionMessage )
testFindContentWithDefaultQueryValues ( ) Test for the findContent() method.
testFindContentWithNoPermission ( ) Test for the findContent() method.
testFindContentWithPermission ( ) Test for the findContent() method.
testFindLocationsThrowsHandlerException ( ) Test for the findLocations() method.
testFindLocationsWithDefaultQueryValues ( ) Test for the findContent() method.
testFindLocationsWithNoPermissionsFilter ( ) Test for the findLocations() method.
testFindLocationsWithPermission ( ) Test for the findLocations() method.
testFindSingle ( ) Test for the findSingle() method.
testFindSingleThrowsHandlerException ( ) Test for the findSingle() method.
testFindSingleThrowsNotFoundException ( ) Test for the findSingle() method.
testFindSingleValidatesLocationCriteria ( $criterion, $exceptionMessage )

Защищенные методы

Метод Описание
getDomainMapperMock ( ) : PHPUnit_Framework_MockObject_MockObject | DomainMapper
getPermissionsCriterionHandlerMock ( ) : PHPUnit_Framework_MockObject_MockObject | PermissionsCriterionHandler

Описание методов

getDomainMapperMock() защищенный Метод

protected getDomainMapperMock ( ) : PHPUnit_Framework_MockObject_MockObject | DomainMapper
Результат PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Repository\Helper\DomainMapper

getPermissionsCriterionHandlerMock() защищенный Метод

protected getPermissionsCriterionHandlerMock ( ) : PHPUnit_Framework_MockObject_MockObject | PermissionsCriterionHandler
Результат PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Repository\PermissionsCriterionHandler

providerForFindContentValidatesLocationCriteriaAndSortClauses() публичный Метод

providerForFindSingleValidatesLocationCriteria() публичный Метод

testConstructor() публичный Метод

Test for the __construct() method.
public testConstructor ( )

testFindContentNoPermissionsFilter() публичный Метод

Test for the findContent() method.

testFindContentThrowsHandlerException() публичный Метод

Test for the findContent() method.

testFindContentValidatesLocationCriteriaAndSortClauses() публичный Метод

public testFindContentValidatesLocationCriteriaAndSortClauses ( $query, $exceptionMessage )

testFindContentWithDefaultQueryValues() публичный Метод

Test for the findContent() method.

testFindContentWithNoPermission() публичный Метод

Test for the findContent() method.

testFindContentWithPermission() публичный Метод

Test for the findContent() method.

testFindLocationsThrowsHandlerException() публичный Метод

Test for the findLocations() method.

testFindLocationsWithDefaultQueryValues() публичный Метод

Test for the findContent() method.

testFindLocationsWithNoPermissionsFilter() публичный Метод

Test for the findLocations() method.

testFindLocationsWithPermission() публичный Метод

Test for the findLocations() method.

testFindSingle() публичный Метод

Test for the findSingle() method.
public testFindSingle ( )

testFindSingleThrowsHandlerException() публичный Метод

Test for the findSingle() method.

testFindSingleThrowsNotFoundException() публичный Метод

Test for the findSingle() method.

testFindSingleValidatesLocationCriteria() публичный Метод

public testFindSingleValidatesLocationCriteria ( $criterion, $exceptionMessage )

Описание свойств

$domainMapperMock защищенное свойство

protected $domainMapperMock

$permissionsCriterionHandlerMock защищенное свойство

protected $permissionsCriterionHandlerMock

$repositoryMock защищенное свойство

protected $repositoryMock