PHP Class Mongolid\Cursor\CacheableCursorTest

Inheritance: extends TestCas\TestCase
Afficher le fichier Open project: leroy-merlin-br/mongolid

Méthodes publiques

Méthode Description
tearDown ( )
testShouldGenerateUniqueCacheKey ( )
testShouldGetCursorFromCache ( )
testShouldGetCursorFromDatabaseAndCacheForLater ( )
testShouldGetCursorFromPreviousIteration ( )
testShouldGetOriginalCursorFromDatabaseAfterTheDocumentLimit ( )

Méthodes protégées

Méthode Description
getCachableCursor ( $entitySchema = null, $collection = null, $command = 'find', $params = [[]], $driverCursor = null )

Method Details

getCachableCursor() protected méthode

protected getCachableCursor ( $entitySchema = null, $collection = null, $command = 'find', $params = [[]], $driverCursor = null )

tearDown() public méthode

public tearDown ( )

testShouldGenerateUniqueCacheKey() public méthode

testShouldGetCursorFromCache() public méthode

testShouldGetCursorFromDatabaseAndCacheForLater() public méthode

testShouldGetCursorFromPreviousIteration() public méthode

testShouldGetOriginalCursorFromDatabaseAfterTheDocumentLimit() public méthode