Alcaeus\MongoDbAdapter\Tests\Mongo\MongoCollectionTest::testCountWithLimitAndSkipLegacy PHP Method

testCountWithLimitAndSkipLegacy() public method

    public function testCountWithLimitAndSkipLegacy()
    {
        $this->prepareData();
        $collection = $this->getCollection();
        $this->assertSame(2, $collection->count([], 2, 1));
        $this->assertSame(1, $collection->count([], 1, 1));
    }
MongoCollectionTest