PHP Class Neos\Flow\Tests\Unit\Persistence\Doctrine\QueryResultTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Show file Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$query Neos\Flow\Persistence\Doctrine\Query | PHPUnit_Framework_MockObject_MockObject
$queryResult Neos\Flow\Persistence\Doctrine\QueryResult

Public Methods

Method Description
countCallsCountOnTheQuery ( )
countCallsCountOnTheQueryOnlyOnce ( )
countCountsQueryResultDirectlyIfAlreadyInitialized ( )
getQueryReturnsAClone ( )
getQueryReturnsQueryObject ( )
offsetGetReturnsNullIfOffsetDoesNotExist ( )
setUp ( ) Sets up this test case

Method Details

countCallsCountOnTheQuery() public method

countCallsCountOnTheQueryOnlyOnce() public method

countCountsQueryResultDirectlyIfAlreadyInitialized() public method

getQueryReturnsAClone() public method

getQueryReturnsQueryObject() public method

offsetGetReturnsNullIfOffsetDoesNotExist() public method

setUp() public method

Sets up this test case
public setUp ( )

Property Details

$query protected property

protected Query,Neos\Flow\Persistence\Doctrine|PHPUnit_Framework_MockObject_MockObject $query
return Neos\Flow\Persistence\Doctrine\Query | PHPUnit_Framework_MockObject_MockObject

$queryResult protected property

protected QueryResult,Neos\Flow\Persistence\Doctrine $queryResult
return Neos\Flow\Persistence\Doctrine\QueryResult