public function testReadPreferenceOptionsAreInherited($options, $uri, $expectedTagsets)
{
$client = $this->getClient($options, $uri);
$collection = $client->selectCollection('test', 'foo');
$this->assertSame(['type' => \MongoClient::RP_SECONDARY_PREFERRED, 'tagsets' => $expectedTagsets], $collection->getReadPreference());
}