public function testCountTimeout() { $this->failMaxTimeMS(); $this->setExpectedException('MongoExecutionTimeoutException'); $this->getCollection()->count([], ['maxTimeMS' => 1]); }