Alcaeus\MongoDbAdapter\Tests\Mongo\MongoCollectionTest::testCountTimeout PHP 메소드

testCountTimeout() 공개 메소드

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