| Total Complexity | 7 | 
| Total Lines | 78 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 11 | /** | ||
| 12 | * @throws \Exception | ||
| 13 | */ | ||
| 14 | public function testCount() | ||
| 15 |     { | ||
| 16 | $this->insertDocument(1); | ||
| 17 | |||
| 18 | $res = $this->r() | ||
| 19 |             ->table('tabletest') | ||
| 20 | ->count() | ||
| 21 | ->run(); | ||
| 22 | |||
| 23 |         $this->assertInternalType('int', $res->getData()); | ||
| 24 | } | ||
| 25 | |||
| 26 | /** | ||
| 27 | * @throws \Exception | ||
| 28 | */ | ||
| 29 | public function testFilterCount() | ||
| 45 | } | ||
| 46 | |||
| 47 | /** | ||
| 48 | * @throws \Exception | ||
| 49 | */ | ||
| 50 | public function testFilterCountOnMultipleDocuments() | ||
| 66 | } | ||
| 67 | } | ||
| 68 |