Sokil\Mongo\BatchTest::testCount PHP Метод

testCount() публичный Метод

public testCount ( )
    public function testCount()
    {
        $batch = new BatchInsert($this->collection);
        $batch->insert(array());
        $batch->insert(array());
        $batch->insert(array());
        $this->assertEquals(3, count($batch));
    }