Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function testKeysResult() |
||
14 | { |
||
15 | $this->insertDocumentWithNumber(1, 1); |
||
16 | |||
17 | /** @var Cursor $cursor */ |
||
18 | $cursor = $this->r() |
||
19 | ->table('tabletest') |
||
20 | ->get(1) |
||
21 | ->keys() |
||
22 | ->run(); |
||
23 | |||
24 | $this->assertInstanceOf(\Iterator::class, $cursor); |
||
25 | $this->assertEquals(1, $cursor->count()); |
||
26 | } |
||
28 |