stats() public method

Get collection stat
public stats ( ) : array
return array collection stat
Example #1
0
 public function testStats()
 {
     $stats = $this->collection->stats();
     // error occuned - ns not found
     $this->assertEquals((double) 0, $stats['ok']);
 }