public function testWriteConcern() { $database = $this->getDatabase(); $this->assertTrue($database->setWriteConcern('majority', 100)); $this->assertSame(['w' => 'majority', 'wtimeout' => 100], $database->getWriteConcern()); }