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