PHP Класс eZ\Publish\Core\REST\Server\Tests\Input\Parser\BaseTest

Наследование: extends eZ\Publish\Core\REST\Server\Tests\BaseTest
Показать файл Открыть проект

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

Свойство Тип Описание
$parserTools eZ\Publish\Core\REST\Common\Input\ParserTools
$parsingDispatcherMock eZ\Publish\Core\REST\Common\Input\ParsingDispatcher | PHPUnit_Framework_MockObject_MockObject
$requestParserMock eZ\Publish\Core\REST\Common\RequestParser | PHPUnit_Framework_MockObject_MockObject

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

Метод Описание
getParseHrefExpectationsMap ( ) : array Returns the parseHref invocation expectations, as an array of: 0. route to parse the href from (/content/objects/59 1. attribute name we are looking for (contentId) 2. expected return value (59)*.

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

Метод Описание
getParser ( )
getParserTools ( ) : ParserTools Get the parser tools.
getParsingDispatcherMock ( ) : ParsingDispatcher Get the parsing dispatcher.
getRequestParserMock ( ) : eZ\Publish\Core\REST\Common\RequestParser | PHPUnit_Framework_MockObject_MockObject Get the Request parser.
internalGetParser ( ) : eZ\Publish\Core\REST\Server\Input\Parser\Base Must return the tested parser object.

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

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

Returns the parseHref invocation expectations, as an array of: 0. route to parse the href from (/content/objects/59 1. attribute name we are looking for (contentId) 2. expected return value (59)*.
public getParseHrefExpectationsMap ( ) : array
Результат array

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

protected getParser ( )

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

Get the parser tools.
protected getParserTools ( ) : ParserTools
Результат eZ\Publish\Core\REST\Common\Input\ParserTools

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

Get the parsing dispatcher.
protected getParsingDispatcherMock ( ) : ParsingDispatcher
Результат eZ\Publish\Core\REST\Common\Input\ParsingDispatcher

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

Get the Request parser.
protected getRequestParserMock ( ) : eZ\Publish\Core\REST\Common\RequestParser | PHPUnit_Framework_MockObject_MockObject
Результат eZ\Publish\Core\REST\Common\RequestParser | PHPUnit_Framework_MockObject_MockObject

internalGetParser() абстрактный защищенный Метод

Must return the tested parser object.
abstract protected internalGetParser ( ) : eZ\Publish\Core\REST\Server\Input\Parser\Base
Результат eZ\Publish\Core\REST\Server\Input\Parser\Base

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

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

protected ParserTools,eZ\Publish\Core\REST\Common\Input $parserTools
Результат eZ\Publish\Core\REST\Common\Input\ParserTools

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

protected ParsingDispatcher,eZ\Publish\Core\REST\Common\Input|PHPUnit_Framework_MockObject_MockObject $parsingDispatcherMock
Результат eZ\Publish\Core\REST\Common\Input\ParsingDispatcher | PHPUnit_Framework_MockObject_MockObject

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

protected RequestParser,eZ\Publish\Core\REST\Common|PHPUnit_Framework_MockObject_MockObject $requestParserMock
Результат eZ\Publish\Core\REST\Common\RequestParser | PHPUnit_Framework_MockObject_MockObject