public function testGetDb() { $client = $this->getClient(); $db = $client->selectDB('mongo-php-adapter'); $this->assertInstanceOf('\\MongoDB', $db); $this->assertSame('mongo-php-adapter', (string) $db); }