PHP 클래스 Mongolid\Cursor\CursorTest

상속: extends TestCas\TestCase
파일 보기 프로젝트 열기: leroy-merlin-br/mongolid

공개 메소드들

메소드 설명
tearDown ( )
testShouldCountDocuments ( )
testShouldGetCurrent ( )
testShouldGetCurrentUsingActiveRecordClasses ( )
testShouldGetFirst ( )
testShouldGetFirstWhenEmpty ( )
testShouldImplementKeyMethodFromIterator ( )
testShouldImplementNextMethodFromIterator ( )
testShouldImplementValidMethodFromIterator ( )
testShouldLimitDocumentQuantity ( )
testShouldRefreshTheCursor ( )
testShouldReturnAllResults ( )
testShouldReturnResultsToArray ( )
testShouldRewind ( )
testShouldRewindACursorThatHasAlreadyBeenInitialized ( )
testShouldSerializeAnActiveCursor ( )
testShouldSetNoCursorTimeoutToTrue ( )
testShouldSkipDocuments ( )
testShouldSortDocumentsOfCursor ( )
testShouldWrapMongoDriverCursorWithIteratoriterator ( )

보호된 메소드들

메소드 설명
getCursor ( $entitySchema = null, $collection = null, $command = 'find', $params = [[]], $driverCursor = null )
getDriverCollection ( ) Since the MongoDB\Collection is not serializable. This method will emulate an unserializable collection from mongoDb driver.

메소드 상세

getCursor() 보호된 메소드

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

getDriverCollection() 보호된 메소드

Since the MongoDB\Collection is not serializable. This method will emulate an unserializable collection from mongoDb driver.
protected getDriverCollection ( )

tearDown() 공개 메소드

public tearDown ( )

testShouldCountDocuments() 공개 메소드

testShouldGetCurrent() 공개 메소드

testShouldGetCurrentUsingActiveRecordClasses() 공개 메소드

testShouldGetFirst() 공개 메소드

public testShouldGetFirst ( )

testShouldGetFirstWhenEmpty() 공개 메소드

testShouldImplementKeyMethodFromIterator() 공개 메소드

testShouldImplementNextMethodFromIterator() 공개 메소드

testShouldImplementValidMethodFromIterator() 공개 메소드

testShouldLimitDocumentQuantity() 공개 메소드

testShouldRefreshTheCursor() 공개 메소드

testShouldReturnAllResults() 공개 메소드

testShouldReturnResultsToArray() 공개 메소드

testShouldRewind() 공개 메소드

public testShouldRewind ( )

testShouldRewindACursorThatHasAlreadyBeenInitialized() 공개 메소드

testShouldSerializeAnActiveCursor() 공개 메소드

testShouldSetNoCursorTimeoutToTrue() 공개 메소드

testShouldSkipDocuments() 공개 메소드

testShouldSortDocumentsOfCursor() 공개 메소드

testShouldWrapMongoDriverCursorWithIteratoriterator() 공개 메소드