PHP Class Alcaeus\MongoDbAdapter\Tests\Mongo\MongoClientTest

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

Public Methods

Method Description
dataReadPreferenceOptionsAreInherited ( )
dataWriteConcernOptionsAreInherited ( )
testGetCollection ( )
testGetDb ( )
testGetDbProperty ( )
testGetHosts ( )
testListDBs ( )
testNoPrefixUri ( )
testReadPreference ( )
testReadPreferenceOptionsAreInherited ( $options, $uri, $expectedTagsets )
testSelectDBWithEmptyName ( )
testSelectDBWithInvalidName ( )
testSerialize ( )
testWriteConcern ( )
testWriteConcernOptionsAreInherited ( $options, $uri )

Private Methods

Method Description
makeOptionString ( array $options ) : string

Method Details

dataReadPreferenceOptionsAreInherited() public static method

dataWriteConcernOptionsAreInherited() public static method

testGetCollection() public method

public testGetCollection ( )

testGetDb() public method

public testGetDb ( )

testGetDbProperty() public method

public testGetDbProperty ( )

testGetHosts() public method

public testGetHosts ( )

testListDBs() public method

public testListDBs ( )

testNoPrefixUri() public method

public testNoPrefixUri ( )

testReadPreference() public method

public testReadPreference ( )

testReadPreferenceOptionsAreInherited() public method

public testReadPreferenceOptionsAreInherited ( $options, $uri, $expectedTagsets )

testSelectDBWithEmptyName() public method

testSelectDBWithInvalidName() public method

testSerialize() public method

public testSerialize ( )

testWriteConcern() public method

public testWriteConcern ( )

testWriteConcernOptionsAreInherited() public method

public testWriteConcernOptionsAreInherited ( $options, $uri )