| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 21 | 
| Code Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 34 | public function testEmptyTable() | ||
| 35 |     { | ||
| 36 | /** @var ResponseInterface $count */ | ||
| 37 | $count = $this->r() | ||
| 38 |             ->table('tabletest') | ||
| 39 | ->filter([ | ||
| 40 | [ | ||
| 41 | 'title' => 'Test document', | ||
| 42 | ], | ||
| 43 | ]) | ||
| 44 | ->count() | ||
| 45 | ->run(); | ||
| 46 | |||
| 47 |         $this->assertInternalType('int', $count->getData()); | ||
| 48 | |||
| 49 | $res = $this->r() | ||
| 50 |             ->table('tabletest') | ||
| 51 | ->delete() | ||
| 52 | ->run(); | ||
| 53 | |||
| 54 | $this->assertObStatus(['deleted' => $count->getData()], $res->getData()); | ||
| 55 | } | ||
| 57 |