PHP Class Mongolid\Cursor\EmbeddedCursorTest

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

Méthodes publiques

Méthode Description
tearDown ( )
testShouldCountDocuments ( )
testShouldGetAllInArrayFormat ( )
testShouldGetAllItems ( )
testShouldGetCurrent ( )
testShouldGetCurrentUsingEntityClass ( )
testShouldGetCurrentUsingEntityClassAndMorphinIt ( )
testShouldGetFirst ( )
testShouldImplementKeyMethodFromIterator ( )
testShouldImplementNextMethodFromIterator ( )
testShouldImplementValidMethodFromIterator ( )
testShouldLimitDocumentQuantity ( )
testShouldNotGetCurrentWhenCursorIsInvalid ( )
testShouldRewind ( )
testShouldSkipDocuments ( )
testShouldSortDocuments ( )

Méthodes protégées

Méthode Description
getCursor ( $entityClass = stdClass::class, $items = [] )

Method Details

getCursor() protected méthode

protected getCursor ( $entityClass = stdClass::class, $items = [] )

tearDown() public méthode

public tearDown ( )

testShouldCountDocuments() public méthode

testShouldGetAllInArrayFormat() public méthode

testShouldGetAllItems() public méthode

testShouldGetCurrent() public méthode

testShouldGetCurrentUsingEntityClass() public méthode

testShouldGetCurrentUsingEntityClassAndMorphinIt() public méthode

testShouldGetFirst() public méthode

public testShouldGetFirst ( )

testShouldImplementKeyMethodFromIterator() public méthode

testShouldImplementNextMethodFromIterator() public méthode

testShouldImplementValidMethodFromIterator() public méthode

testShouldLimitDocumentQuantity() public méthode

testShouldNotGetCurrentWhenCursorIsInvalid() public méthode

testShouldRewind() public méthode

public testShouldRewind ( )

testShouldSkipDocuments() public méthode

testShouldSortDocuments() public méthode