PHP Class Alcaeus\MongoDbAdapter\Tests\Mongo\MongoCursorTest

Author: alcaeus ([email protected])
Show file Open project: alcaeus/mongo-php-adapter

Public Methods

Method Description
getBasicCheckCallback ( $expected, $optionName )
getCursorOptions ( )
getMissingOptionCallback ( $optionName )
getModifierCheckCallback ( $expected, $modifierName )
testCount ( )
testCountAfterIteration ( )
testCountCannotConnect ( )
testCursorAppliesOptions ( $checkOptionCallback, Closure $applyOptionCallback = null )
testCursorConvertsTypes ( )
testCursorInfo ( )
testIteratorInterface ( )
testNextStartsWithFirstItem ( )
testReadPreferenceIsInherited ( )
testSerialize ( )

Protected Methods

Method Description
getCollectionMock ( ) : PHPUnit_Framework_MockObject_MockObject

Method Details

getBasicCheckCallback() public method

public getBasicCheckCallback ( $expected, $optionName )

getCollectionMock() protected method

protected getCollectionMock ( ) : PHPUnit_Framework_MockObject_MockObject
return PHPUnit_Framework_MockObject_MockObject

getCursorOptions() public static method

public static getCursorOptions ( )

getMissingOptionCallback() public method

public getMissingOptionCallback ( $optionName )

getModifierCheckCallback() public method

public getModifierCheckCallback ( $expected, $modifierName )

testCount() public method

public testCount ( )

testCountAfterIteration() public method

testCountCannotConnect() public method

testCursorAppliesOptions() public method

public testCursorAppliesOptions ( $checkOptionCallback, Closure $applyOptionCallback = null )
$applyOptionCallback Closure

testCursorConvertsTypes() public method

testCursorInfo() public method

public testCursorInfo ( )

testIteratorInterface() public method

testNextStartsWithFirstItem() public method

testReadPreferenceIsInherited() public method

testSerialize() public method

public testSerialize ( )