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

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$dataMapper Neos\Flow\Persistence\Generic\DataMapper | PHPUnit_Framework_MockObject_MockObject
$persistenceManager Neos\Flow\Persistence\Generic\PersistenceManager | PHPUnit_Framework_MockObject_MockObject
$query Neos\Flow\Persistence\QueryInterface
$queryResult Neos\Flow\Persistence\Generic\QueryResult
$sampleResult Neos\Flow\Persistence\Generic\QueryResult | PHPUnit_Framework_MockObject_MockObject

Méthodes publiques

Méthode Description
countCallsGetObjectCountByQueryOnPersistenceManager ( )
countCountsQueryResultDirectlyIfAlreadyInitialized ( )
countDoesNotInitializeProxy ( )
countOnlyCallsGetObjectCountByQueryOnPersistenceManagerOnce ( )
getFirstMapsAndReturnsFirstResultIfQueryIsNotInitialized ( )
getFirstReturnsFirstResultIfQueryIsInitialized ( )
getFirstReturnsNullIfResultSetIsEmptyAndQueryIsInitialized ( )
getFirstReturnsNullIfResultSetIsEmptyAndQueryIsNotInitialized ( )
getQueryReturnsAClone ( )
getQueryReturnsQueryObject ( )
initializeExecutesQueryWithArrayFetchMode ( )
iteratorMethodsAreCorrectlyImplemented ( )
offsetExistsWorksAsExpected ( )
offsetGetWorksAsExpected ( )
offsetSetWorksAsExpected ( )
offsetUnsetWorksAsExpected ( )
setUp ( ) Sets up this test case

Method Details

countCallsGetObjectCountByQueryOnPersistenceManager() public méthode

countCountsQueryResultDirectlyIfAlreadyInitialized() public méthode

countDoesNotInitializeProxy() public méthode

countOnlyCallsGetObjectCountByQueryOnPersistenceManagerOnce() public méthode

getFirstMapsAndReturnsFirstResultIfQueryIsNotInitialized() public méthode

getFirstReturnsFirstResultIfQueryIsInitialized() public méthode

getFirstReturnsNullIfResultSetIsEmptyAndQueryIsInitialized() public méthode

getFirstReturnsNullIfResultSetIsEmptyAndQueryIsNotInitialized() public méthode

getQueryReturnsAClone() public méthode

getQueryReturnsQueryObject() public méthode

initializeExecutesQueryWithArrayFetchMode() public méthode

iteratorMethodsAreCorrectlyImplemented() public méthode

offsetExistsWorksAsExpected() public méthode

offsetGetWorksAsExpected() public méthode

offsetSetWorksAsExpected() public méthode

offsetUnsetWorksAsExpected() public méthode

setUp() public méthode

Sets up this test case
public setUp ( )

Property Details

$dataMapper protected_oe property

protected DataMapper,Neos\Flow\Persistence\Generic|PHPUnit_Framework_MockObject_MockObject $dataMapper
Résultat Neos\Flow\Persistence\Generic\DataMapper | PHPUnit_Framework_MockObject_MockObject

$persistenceManager protected_oe property

protected PersistenceManager,Neos\Flow\Persistence\Generic|PHPUnit_Framework_MockObject_MockObject $persistenceManager
Résultat Neos\Flow\Persistence\Generic\PersistenceManager | PHPUnit_Framework_MockObject_MockObject

$query protected_oe property

protected QueryInterface,Neos\Flow\Persistence $query
Résultat Neos\Flow\Persistence\QueryInterface

$queryResult protected_oe property

protected QueryResult,Neos\Flow\Persistence\Generic $queryResult
Résultat Neos\Flow\Persistence\Generic\QueryResult

$sampleResult protected_oe property

protected QueryResult,Neos\Flow\Persistence\Generic|PHPUnit_Framework_MockObject_MockObject $sampleResult
Résultat Neos\Flow\Persistence\Generic\QueryResult | PHPUnit_Framework_MockObject_MockObject